双月卡活动
This commit is contained in:
@@ -102,6 +102,12 @@ namespace Hncore.Pass.Vpn.Service
|
||||
return await NewTestAccount(account, pwd);
|
||||
}
|
||||
var client = CreateHttpClient();
|
||||
//user: ceshiyiha
|
||||
// passwd: ceshiyiha
|
||||
// conn_max: 1
|
||||
// type: m
|
||||
// paynum: 2
|
||||
// details: ce
|
||||
var map = new Dictionary<string, string>(){
|
||||
{"user",account },
|
||||
{"passwd",pwd },
|
||||
@@ -215,13 +221,13 @@ namespace Hncore.Pass.Vpn.Service
|
||||
/// <param name="account"></param>
|
||||
/// <param name="pwd"></param>
|
||||
/// <returns></returns>
|
||||
public override async Task<ApiResult> NewReAccount(string packageKey, string account, int connCount)
|
||||
public override async Task<ApiResult> NewReAccount(string packageKey, string account, int connCount, int payCount = 1)
|
||||
{
|
||||
var client = CreateHttpClient();
|
||||
var map = new Dictionary<string, string>(){
|
||||
{"user",account },
|
||||
{"type",packageKey },
|
||||
{"paynum","1"},
|
||||
{"paynum",payCount.ToString()},
|
||||
};
|
||||
var title = GetOpTitle("NewReAccount", account);
|
||||
LogHelper.Info(title, map.ToJson());
|
||||
|
||||
Reference in New Issue
Block a user