星星无尽备注

This commit is contained in:
“wanyongkang”
2021-08-02 10:29:58 +08:00
parent 85f6dc4123
commit 475d0c9c2f
2 changed files with 7 additions and 1 deletions

View File

@@ -77,12 +77,14 @@ namespace Hncore.Pass.Vpn.Service
{
var remark = "";
if(account.Contains("-")){
string[] arrStr = account.Split('-');
account = arrStr[0];
remark = arrStr[1];
}
Random rd = new Random(Guid.NewGuid().GetHashCode());
int i = rd.Next();
@@ -105,6 +107,7 @@ namespace Hncore.Pass.Vpn.Service
JObject jo = (JObject)JsonConvert.DeserializeObject(content);
var status = jo["errcode"].ToString();
if (status =="0")
{
return new ApiResult(ResultCode.C_SUCCESS);