mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-07-04 17:48:15 +08:00
feat: ✨ 营销管理
This commit is contained in:
@ -24,6 +24,17 @@ public class UserTests(WebTestApplicationFactory<Startup> factory, ITestOutputHe
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
[InlineData(null)]
|
||||
[Theory]
|
||||
[TestPriority(100200)]
|
||||
public async Task<bool> CheckInviterAvailableAsync(CheckInviterAvailableReq req)
|
||||
{
|
||||
var rsp = await PostJsonAsync(typeof(UserController), new CheckInviterAvailableReq { Code = "111111" });
|
||||
Assert.True(rsp.IsSuccessStatusCode);
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
[InlineData(null)]
|
||||
[Theory]
|
||||
@ -195,6 +206,17 @@ public class UserTests(WebTestApplicationFactory<Startup> factory, ITestOutputHe
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
[InlineData(null)]
|
||||
[Theory]
|
||||
[TestPriority(101600)]
|
||||
public async Task<IEnumerable<QueryUserRsp>> QueryRelationAsync(QueryReq<QueryUserReq> req)
|
||||
{
|
||||
var rsp = await PostJsonAsync(typeof(UserController), req);
|
||||
Assert.True(rsp.IsSuccessStatusCode);
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
[InlineData(null)]
|
||||
[Theory]
|
||||
|
Reference in New Issue
Block a user