This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user