注销用户两步+删除用户线路
This commit is contained in:
1 parent
5b39dd985b
commit
99e916905d
17 files changed
+976
-20
No files matched your search
@@ -237,7 +237,11 @@ namespace Assets.Scripts.Apis
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public async Task<JsonResult<object>> DeleteRoute(int id)
|
||||
{
|
||||
var result = await PostAsync<JsonResult<object>>($"Map/DeleteRoute", new { id });
|
||||
return result;
|
||||
}
|
||||
public async Task<JsonResult<List<MapRouteAreaItem>>> GetRecommendAreaList()
|
||||
{
|
||||
var result = await GetAsync<JsonResult<List<MapRouteAreaItem>>>($"MapRouteArea/GetRecommendAreaList");
|
||||
@@ -248,6 +252,8 @@ namespace Assets.Scripts.Apis
|
||||
var result = await GetAsync<JsonResult<List<Recommand>>>($"Recommand/GetList?pageIndex={pageIndex}&pageSize={pageSize}");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public async Task<JsonResult<List<MapRouteAreaItem>>> GetMemberMapRouteAreaList(int pageIndex, int pageSize)
|
||||
{
|
||||
var result = await GetAsync<JsonResult<List<MapRouteAreaItem>>>($"MapRouteArea/GetMemberMapRouteAreaList?pageIndex={pageIndex}&pageSize={pageSize}");
|
||||
|
||||
@@ -84,10 +84,15 @@ namespace Assets.Scripts.Apis
|
||||
return new JsonResult<UserResultModel>() { result = false, data = null, errMsg = ret.errMsg };
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<JsonResult<object>> DeleteAccount(string pwd)
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="pwd"></param>
|
||||
/// <param name="isFirst">false直接删除 true仅判断</param>
|
||||
/// <returns></returns>
|
||||
public async Task<JsonResult<object>> DeleteAccount(string pwd,bool isFirst)
|
||||
{
|
||||
return await PostAsync<JsonResult<object>>("User/DeleteAccount", new { pwd });
|
||||
return await PostAsync<JsonResult<object>>("User/DeleteAccount", new { pwd,isFirst });
|
||||
}
|
||||
|
||||
public async Task<JsonResult<object>> AppleCompleteInfo(string phone, string Captcha, string pwd)
|
||||
|
||||
Reference in new issue
Block a user