水滴账号问题
This commit is contained in:
@@ -521,12 +521,12 @@
|
||||
}
|
||||
if (!xieyi) {
|
||||
alert("手持身份证必须上传!");
|
||||
return;
|
||||
}
|
||||
|
||||
var form_data = new FormData();
|
||||
form_data.append('cookie',document.cookie);
|
||||
form_data.append('describe',this.describe);
|
||||
form_data.append('id_code',this.id_code);
|
||||
form_data.append('status',this.status);
|
||||
form_data.append('xieyi',xieyi);
|
||||
|
||||
|
||||
@@ -88,12 +88,12 @@
|
||||
}
|
||||
if (!xieyi) {
|
||||
alert("手持身份证必须上传!");
|
||||
return;
|
||||
}
|
||||
|
||||
var form_data = new FormData();
|
||||
form_data.append('cookie',document.cookie);
|
||||
form_data.append('describe',this.describe);
|
||||
form_data.append('id_code',this.id_code);
|
||||
form_data.append('status',this.status);
|
||||
form_data.append('xieyi',xieyi);
|
||||
|
||||
|
||||
@@ -157,14 +157,19 @@ namespace Hncore.Pass.Vpn.Service
|
||||
{
|
||||
return new ApiResult(ResultCode.C_INVALID_ERROR, "密码不能为空");
|
||||
}
|
||||
var agentRet = false;
|
||||
if (entity.ProductId == 28) {
|
||||
var account = entity.Account;
|
||||
if (entity.PackageName.Contains("固态")) {
|
||||
entity.Account = entity.Account + "-" + "1";
|
||||
account = entity.Account + "-" + "1";
|
||||
} else {
|
||||
entity.Account = entity.Account + "-" + "0";
|
||||
account = entity.Account + "-" + "0";
|
||||
}
|
||||
agentRet = await m_AgentService.UpdateAccountPwd(entity.ProductId.Value, account, request.Pwd);
|
||||
|
||||
} else {
|
||||
agentRet = await m_AgentService.UpdateAccountPwd(entity.ProductId.Value, entity.Account, request.Pwd);
|
||||
}
|
||||
var agentRet = await m_AgentService.UpdateAccountPwd(entity.ProductId.Value, entity.Account, request.Pwd);
|
||||
if (!agentRet)
|
||||
{
|
||||
return new ApiResult(ResultCode.C_INVALID_ERROR, "远程更新失败");
|
||||
|
||||
Reference in New Issue
Block a user