蘑菇
This commit is contained in:
@@ -289,9 +289,9 @@
|
|||||||
|
|
||||||
<div style="font-size: 15px;">
|
<div style="font-size: 15px;">
|
||||||
<h3 style="margin-top: 0px;margin-bottom: 10px;display:inline;color:red;background-color:#FFFF00;">公告</h3><a style="cursor:pointer;display:inline;float:right;" onclick="know()">X</a>
|
<h3 style="margin-top: 0px;margin-bottom: 10px;display:inline;color:red;background-color:#FFFF00;">公告</h3><a style="cursor:pointer;display:inline;float:right;" onclick="know()">X</a>
|
||||||
<p style="margin-top: 10px;">聚IP为您助攻:</p>
|
<h4 style="margin-top: 10px;">聚IP年中聚惠:</h4>
|
||||||
<p>1.动态IP一毛钱一天,每用户限一次。</p>
|
<p>1.动态IP一毛钱一天,每用户限一次。</p>
|
||||||
<p>2.全部产品所有套餐9.5折狂欢价,月卡低至65元,量大价更低</p>
|
<p>2.新上蘑菇IP,天卡买一送一,周卡送3天,月卡送10天,多买多送</p>
|
||||||
<p>3.极客IP,西瓜IP,双月卡送一个月。</p>
|
<p>3.极客IP,西瓜IP,双月卡送一个月。</p>
|
||||||
<p>4.需求5个以上可联系客服设置优惠折扣!</p>
|
<p>4.需求5个以上可联系客服设置优惠折扣!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -680,9 +680,9 @@
|
|||||||
|
|
||||||
<div style="font-size: 15px;">
|
<div style="font-size: 15px;">
|
||||||
<h3 style="margin-top: 0px;margin-bottom: 10px;display:inline;color:red;background-color:#FFFF00;">公告</h3><a style="cursor:pointer;display:inline;float:right;" onclick="know()">X</a>
|
<h3 style="margin-top: 0px;margin-bottom: 10px;display:inline;color:red;background-color:#FFFF00;">公告</h3><a style="cursor:pointer;display:inline;float:right;" onclick="know()">X</a>
|
||||||
<h4 style="margin-top: 10px;">聚IP为您助攻:</h4>
|
<h4 style="margin-top: 10px;">聚IP年中聚惠:</h4>
|
||||||
<p>1.动态IP一毛钱一天,每用户限一次。</p>
|
<p>1.动态IP一毛钱一天,每用户限一次。</p>
|
||||||
<p>2.全部产品所有套餐9.5折狂欢价,月卡低至65元,量大价更低</p>
|
<p>2.新上蘑菇IP,天卡买一送一,周卡送3天,月卡送10天,多买多送</p>
|
||||||
<p>3.极客IP,西瓜IP,双月卡送一个月。</p>
|
<p>3.极客IP,西瓜IP,双月卡送一个月。</p>
|
||||||
<p>4.需求5个以上可联系客服设置优惠折扣!</p>
|
<p>4.需求5个以上可联系客服设置优惠折扣!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace Hncore.Pass.Vpn.Service
|
|||||||
string SingleAddUrl { get; set; } = "api/index/AddAccount?apikey=80cf4f64e990b78a9fc5eb&";
|
string SingleAddUrl { get; set; } = "api/index/AddAccount?apikey=80cf4f64e990b78a9fc5eb&";
|
||||||
string SingleReAddUrl { get; set; } = "api/index/updateAccount?apikey=80cf4f64e990b78a9fc5eb&";
|
string SingleReAddUrl { get; set; } = "api/index/updateAccount?apikey=80cf4f64e990b78a9fc5eb&";
|
||||||
string MuiltAddUrl { get; set; } = "agent/memberMuiltAdd.html";
|
string MuiltAddUrl { get; set; } = "agent/memberMuiltAdd.html";
|
||||||
string RefundUrl { get; set; } = "api/number/refund";
|
string RefundUrl { get; set; } = "api/index/refund?apikey=80cf4f64e990b78a9fc5eb&";
|
||||||
string UpdateUrl = "api/index/updateAccount?apikey=80cf4f64e990b78a9fc5eb&";//agent/memberUpdate/id/1155709.html
|
string UpdateUrl = "api/index/updateAccount?apikey=80cf4f64e990b78a9fc5eb&";//agent/memberUpdate/id/1155709.html
|
||||||
string OnlineUrl { get; set; } = "api/index/getOnlineList?apikey=80cf4f64e990b78a9fc5eb&";
|
string OnlineUrl { get; set; } = "api/index/getOnlineList?apikey=80cf4f64e990b78a9fc5eb&";
|
||||||
string KIllUrl { get; set; } = "api/index/disconnect?apikey=80cf4f64e990b78a9fc5eb&";
|
string KIllUrl { get; set; } = "api/index/disconnect?apikey=80cf4f64e990b78a9fc5eb&";
|
||||||
@@ -284,6 +284,12 @@ namespace Hncore.Pass.Vpn.Service
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public override async Task<ApiResult> Refund(string account, string packageKey, int days)
|
public override async Task<ApiResult> Refund(string account, string packageKey, int days)
|
||||||
{
|
{
|
||||||
|
var client = CreateHttpClient();
|
||||||
|
var url = this.RefundUrl + "username=" + account;
|
||||||
|
var resp = await client.GetAsync(url);
|
||||||
|
var content = await resp.Content.ReadAsStringAsync();
|
||||||
|
|
||||||
|
|
||||||
return new ApiResult(1);
|
return new ApiResult(1);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (ProductAccountCount == 0 && request.OrderType != OrderType.News && (packageEntity.DayCount == 1||packageEntity.DayCount == 1) && request.ConnectCount == 1 && request.OrderType!=OrderType.AgainBuy&& request.OrderType!=OrderType.AgainBuys){
|
if (ProductAccountCount == 0 && request.OrderType != OrderType.News && (packageEntity.DayCount == 1||packageEntity.DayCount == 2) && request.ConnectCount == 1 && request.OrderType!=OrderType.AgainBuy&& request.OrderType!=OrderType.AgainBuys){
|
||||||
price = 0.1M;
|
price = 0.1M;
|
||||||
userEntity.ProductAccountCount = 1;
|
userEntity.ProductAccountCount = 1;
|
||||||
await m_UserService.Update(userEntity);
|
await m_UserService.Update(userEntity);
|
||||||
|
|||||||
Reference in New Issue
Block a user