feat: 营销管理

This commit is contained in:
tk
2025-06-30 15:00:17 +08:00
committed by nsnail
parent f6aee1be0f
commit 62ac7790e8
54 changed files with 1125 additions and 38 deletions

View File

@ -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]