1. 修改錯誤編碼
This commit is contained in:
parent
ec16c4b33a
commit
f47598a5ef
@ -702,7 +702,7 @@ namespace SolarPower.Controllers
|
||||
|
||||
if (operationRecodeFile == null)
|
||||
{
|
||||
apiResult.Code = "9988";
|
||||
apiResult.Code = "9987";
|
||||
apiResult.Msg = errorCode.GetString(apiResult.Code);
|
||||
return apiResult;
|
||||
}
|
||||
|
||||
@ -300,7 +300,7 @@ namespace SolarPower.Controllers
|
||||
var exist = userRepository.GetOneByAccountAsync(post.Account);
|
||||
if(exist != null)
|
||||
{
|
||||
apiResult.Code = "9987";
|
||||
apiResult.Code = "9986";
|
||||
apiResult.Msg = errorCode.GetString(apiResult.Code);
|
||||
return apiResult;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user