修改字段
This commit is contained in:
parent
ee667757d4
commit
1263db79ae
|
|
@ -80,7 +80,7 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public async Task<BaseResponse<MyAccountInfoDto>> GetMyAccount()
|
public async Task<BaseResponse<MyAccountInfoDto>> GetMyAccount()
|
||||||
{
|
{
|
||||||
var obj = JsonConvert.DeserializeObject<MyAccountInfoDto>("{\"CurrencyMoney\":1,\"CurrencyRechargeList\":[{\"Id\":0,\"CurrencyCount\":100,\"Price\":10,\"CurrencyType\":0,\"ImgUrl\":\"\"},{\"Id\":1,\"CurrencyCount\":200,\"Price\":20,\"CurrencyType\":0,\"ImgUrl\":\"\"}]}");
|
var obj = JsonConvert.DeserializeObject<MyAccountInfoDto>("{\"Currency\":1,\"CurrencyRechargeList\":[{\"Id\":0,\"CurrencyCount\":100,\"Price\":10,\"CurrencyType\":0,\"ImgUrl\":\"\"},{\"Id\":1,\"CurrencyCount\":200,\"Price\":20,\"CurrencyType\":0,\"ImgUrl\":\"\"}]}");
|
||||||
return new BaseResponse<MyAccountInfoDto>(ResonseCode.Success, "", obj);
|
return new BaseResponse<MyAccountInfoDto>(ResonseCode.Success, "", obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user