This commit is contained in:
wanyongkang
2020-11-06 20:34:41 +08:00
parent 7b4cbe2e79
commit c0c3004f4c
4 changed files with 69 additions and 8 deletions

View File

@@ -187,7 +187,7 @@ namespace Hncore.Pass.Vpn.Service
{"conn_max",connCount.ToString() },
{"test",packageKey=="test"?"1":"0" },
{"type",packageKey=="test"?"d":packageKey },
{"paynum","1" },
{"paynum",payCount.ToString() },
};
var title = GetOpTitle("NewAccount", account);
LogHelper.Info(title, map.ToJson());

View File

@@ -530,7 +530,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
await accountEntitys.ForEachAsync(async accountEntity =>
{
var ret = new ApiResult();
if(accountEntity.PackageId.Value == 86){
if(accountEntity.PackageId.Value == 86 || accountEntity.PackageId.Value == 88){
ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount,1,2);
} else {
ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount);