水滴上线

This commit is contained in:
“wanyongkang”
2024-02-01 17:43:16 +08:00
parent 481f39b9c5
commit d8031b41e3
19 changed files with 2215 additions and 235 deletions

View File

@@ -145,6 +145,13 @@ namespace Hncore.Pass.Vpn.Service
{
return new ApiResult(ResultCode.C_INVALID_ERROR, "密码不能为空");
}
if (entity.ProductId == 28) {
if (entity.PackageName.Contains("固态")) {
entity.Account = entity.Account + "-" + "1";
} else {
entity.Account = entity.Account + "-" + "0";
}
}
var agentRet = await m_AgentService.UpdateAccountPwd(entity.ProductId.Value, entity.Account, request.Pwd);
if (!agentRet)
{
@@ -166,6 +173,13 @@ namespace Hncore.Pass.Vpn.Service
{
return new ApiResult(ResultCode.C_INVALID_ERROR, "密码不能为空");
}
if (entity.ProductId == 28) {
if (entity.PackageName.Contains("固态")) {
entity.Account = entity.Account + "-" + "1";
} else {
entity.Account = entity.Account + "-" + "0";
}
}
var agentRet = await m_AgentService.UpdateAccountPwd(entity.ProductId.Value, entity.Account, request.RePwd);
if (!agentRet)
{