agent_update
This commit is contained in:
@@ -573,86 +573,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="youhuiNew" style="padding:0;margin:0;color:white;background-color:#FF0033;">一毛钱活动:不分新老用户都可参加!</p>
|
||||
@if(item.Product.Id != 13&&item.Product.Id != 17){
|
||||
<div style="text-align:center;cursor:pointer;padding:5px;font-size:15px;font-weight:bold" title="目前公布要停的地区为:
|
||||
三明,揭阳,滨州,黄山,淮北,池州,
|
||||
铜陵,安庆,泰州,荆门,,曲靖,武威,
|
||||
雅安,六安,德阳,自贡,淮南,亳州,
|
||||
阿坝,连云港,蚌埠,三亚,眉山,洛阳,
|
||||
信阳,驻马店,南阳,濮阳,漯河,中山,
|
||||
珠海,惠州,沧州,嘉兴,金华,,杭州,
|
||||
温州,台州,绍兴,怀化,湘潭,郴州,长沙,
|
||||
绵阳,吉安,攀枝花,乌兰察布,南昌,景德镇,
|
||||
达州,阜阳,,黄冈,黄石,南通,石嘴山,绥化,
|
||||
随州,咸宁,忻州,宜昌,银川,重庆,晋中,武汉安阳,连云港
|
||||
预计三天左右恢复">鉴于百年大庆网络安全,应相关部门通知,本产品部分地区暂时关停,<span
|
||||
data-container="body" data-toggle="popover" data-placement="auto top"
|
||||
data-content="目前公布要停的地区为:
|
||||
三明,揭阳,滨州,黄山,淮北,池州,
|
||||
铜陵,安庆,泰州,荆门,,曲靖,武威,
|
||||
雅安,六安,德阳,自贡,淮南,亳州,
|
||||
阿坝,连云港,蚌埠,三亚,眉山,洛阳,
|
||||
信阳,驻马店,南阳,濮阳,漯河,中山,
|
||||
珠海,惠州,沧州,嘉兴,金华,,杭州,
|
||||
温州,台州,绍兴,怀化,湘潭,郴州,长沙,
|
||||
绵阳,吉安,攀枝花,乌兰察布,南昌,景德镇,
|
||||
达州,阜阳,,黄冈,黄石,南通,石嘴山,绥化,
|
||||
随州,咸宁,忻州,宜昌,银川,重庆,晋中,武汉安阳,连云港
|
||||
预计三天左右恢复" style="color: red;">查看详细地区 </span>
|
||||
</div>
|
||||
} else {
|
||||
<div style="text-align:center;cursor:pointer;padding:5px;font-size:15px;font-weight:bold"
|
||||
title="莆田,泉州,漳州,福州,三明,南平,黄山,合肥,
|
||||
池州,安庆,淮南,宣城,铜陵,六安,淮北,滁州,
|
||||
南京,宿迁,重庆,赣州,萍乡,鄂尔多斯,包头,
|
||||
韶关,烟台,黄冈,滨州,邯郸,唐山,曲靖,玉溪,
|
||||
杭州,丽水,荆门,池州,宿迁,连云港,揭阳,中山,
|
||||
珠海,亳州,江门,芜湖,淮南,六安,扬州,武威,德阳,
|
||||
德阳,资阳,泰安,东莞,佛山,自贡,镇江,镇江,乐山,
|
||||
阳江,三亚,雅安,连云港,茂名,安庆,马鞍山,合肥,
|
||||
盐城,阿坝州,眉山,阳江,揭阳,连云港,江门,蚌埠,德阳,铜陵,
|
||||
6月29日21点关停至7月2日09点恢复">鉴于百年大庆网络安全,应相关部门通知,本产品部分地区暂时关停,<span
|
||||
data-container="body" data-toggle="popover" data-placement="auto top"
|
||||
data-content="莆田,泉州,漳州,福州,三明,南平,黄山,合肥,
|
||||
池州,安庆,淮南,宣城,铜陵,六安,淮北,滁州,
|
||||
南京,宿迁,重庆,赣州,萍乡,鄂尔多斯,包头,
|
||||
韶关,烟台,黄冈,滨州,邯郸,唐山,曲靖,玉溪,
|
||||
杭州,丽水,荆门,池州,宿迁,连云港,揭阳,中山,
|
||||
珠海,亳州,江门,芜湖,淮南,六安,扬州,武威,德阳,
|
||||
德阳,资阳,泰安,东莞,佛山,自贡,镇江,镇江,乐山,
|
||||
阳江,三亚,雅安,连云港,茂名,安庆,马鞍山,合肥,
|
||||
盐城,阿坝州,眉山,阳江,揭阳,连云港,江门,蚌埠,德阳,铜陵,
|
||||
6月29日21点关停至7月2日09点恢复" style="color: red;">查看详细地区 </span>
|
||||
</div>
|
||||
}
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("[data-toggle='popover']").popover();
|
||||
});
|
||||
</script>
|
||||
|
||||
@* @if(item.Product.Id == 5){
|
||||
<br>
|
||||
} *@
|
||||
@if(item.Product.Id == 13){
|
||||
<p class="youhuiNew" style="padding: 0;">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
<p class="youhuiNew" style="padding: 0;">双月卡赠送1个月,仅限新开账号,续费帐号不赠送,活动截止时间2020年4月15日<br>(同一个IP账号仅限一次,每位会员不限账号数量,您可购买多个IP账号都有赠送)</p>
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
<p class="youhuiNew">双月卡赠送1个月,仅限新开账号,续费帐号不赠送,活动截止时间2020年4月15日<br>(同一个IP账号仅限一次,每位会员不限账号数量,您可购买多个IP账号都有赠送)</p>
|
||||
|
||||
}
|
||||
@if(item.Product.Id == 17){
|
||||
<p class="youhuiNew" style="padding: 0;">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
<p class="youhuiNew" style="padding: 0;">双月卡赠送1个月,仅限新开账号,续费帐号不赠送,活动截止时间2020年4月15日<br>(同一个IP账号仅限一次,每位会员不限账号数量,您可购买多个IP账号都有赠送)</p>
|
||||
} @if(item.Product.Id == 18){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 8){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 5){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 7){
|
||||
<p class="youhuiNew">双月卡赠送1个月,仅限新开账号,续费帐号不赠送,活动截止时间2020年4月15日<br>(同一个IP账号仅限一次,每位会员不限账号数量,您可购买多个IP账号都有赠送)</p>
|
||||
}
|
||||
@if(item.Product.Id == 18){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@* @if(item.Product.Id == 4){
|
||||
@@ -662,20 +595,26 @@ title="莆田,泉州,漳州,福州,三明,南平,黄山,合肥,
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 1){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区屏蔽微信和QQ</p>
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 2){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区屏蔽微信和QQ</p>
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 6){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ<br></p>
|
||||
<p class="youhuiNew">购买须知:本产品山东,山西,湖南,甘肃,四川,安徽,江苏,江西,福建,陕西不屏蔽,其余地区屏蔽QQ、微信</p>
|
||||
}
|
||||
@if(item.Product.Id == 5){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 7){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@if(item.Product.Id == 8){
|
||||
<p class="youhuiNew">购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
@* @if(item.Product.Id == 8){
|
||||
<p class="youhuiNew">月卡送10天,双月卡赠送1个月,活动截止时间2021年3月31日<br>(同一个IP账号不限次数,<span style="color:FF0033;background-color:#FFFF33;">您可对同一账号多次续费都有赠送</span>,每位会员不限账号数量,您可购买多个IP账号都有赠送))</p>
|
||||
} *@
|
||||
@if(item.Product.Id == 19){
|
||||
<p class="youhuiNew">本产品为独享,每个账号对应一个宽带拨号,永不超载,保证了网速及稳定性。<br>使用时只需设置这个唯一的服务器:1.hhip.vip,在账号列表中点击切换地区即可任意组合自己需要的地区<br><span style="color: #000000;">切记一定要指定一下地区,不然会没有网络</span>
|
||||
<br>购买须知:本产品所有地区屏蔽微信和QQ</p>
|
||||
<br>购买须知:本产品所有地区全部屏蔽微信和QQ</p>
|
||||
}
|
||||
|
||||
@*<p class="text-center nameSmall">—<span>@item.Product.Name</span>—</p>*@
|
||||
@@ -942,7 +881,6 @@ title="莆田,泉州,漳州,福州,三明,南平,黄山,合肥,
|
||||
//$(this).find(".check").show();
|
||||
//$(this).siblings().find(".check").hide();
|
||||
var pid = $(this).attr('a-pid');
|
||||
$("[data-toggle='popover']").popover('hide')
|
||||
if(pid == 7){
|
||||
alert('请注意!无尽IP仅供电脑端使用!');
|
||||
}
|
||||
|
||||
@@ -787,15 +787,22 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
|
||||
//根据折扣设置价格
|
||||
var score_money = 0.00M;
|
||||
if((userEntity.agent_id == 0||(userEntity.agent_id != 0 && userEntity.discount_id != 0)) && userEntity.discount_id >= 0){
|
||||
// if((userEntity.agent_id == 0||(userEntity.agent_id != 0 && userEntity.discount_id != 0)) && userEntity.discount_id >= 0){
|
||||
// //获取代理折扣
|
||||
// var discount = await m_ProductPriceSchemeService.GetById(agentEntity.discount_id);
|
||||
// var packageEntity = await m_ProductPackageService.GetById(order.PackageId);
|
||||
// var price = packageEntity.LinePrice * discount.discount / 100;
|
||||
// score_money = order.PaymentAmount - order.ConnectCount * order.AccountCount * price;
|
||||
// } else {
|
||||
// var agentPriceEntity = await m_AgentPriceService.Query(m => m.agent_id == order.agent_id && m.package_id == order.PackageId).FirstOrDefaultAsync();
|
||||
// score_money = order.PaymentAmount - order.ConnectCount * order.AccountCount * agentPriceEntity.price;
|
||||
// }
|
||||
if(agentEntity.discount_id != 0){
|
||||
//获取代理折扣
|
||||
var discount = await m_ProductPriceSchemeService.GetById(agentEntity.discount_id);
|
||||
var packageEntity = await m_ProductPackageService.GetById(order.PackageId);
|
||||
var price = packageEntity.LinePrice * discount.discount / 100;
|
||||
score_money = order.PaymentAmount - order.ConnectCount * order.AccountCount * price;
|
||||
} else {
|
||||
var agentPriceEntity = await m_AgentPriceService.Query(m => m.agent_id == order.agent_id && m.package_id == order.PackageId).FirstOrDefaultAsync();
|
||||
score_money = order.PaymentAmount - order.ConnectCount * order.AccountCount * agentPriceEntity.price;
|
||||
}
|
||||
|
||||
|
||||
@@ -1077,14 +1084,18 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
//
|
||||
|
||||
var re_money = 0.00M;
|
||||
if((userEntity.agent_id == 0||(userEntity.agent_id != 0 && userEntity.discount_id != 0)) && userEntity.discount_id >= 0){
|
||||
//获取代理折扣
|
||||
// if((userEntity.agent_id == 0||(userEntity.agent_id != 0 && userEntity.discount_id != 0)) && userEntity.discount_id >= 0){
|
||||
// //获取代理折扣
|
||||
// var discount = await m_ProductPriceSchemeService.GetById(agentEntity.discount_id);
|
||||
// re_money = useDay * (refundDayPrice - (product.RefundDayPrice).ToDecimal() * discount.discount / 100) * accountInfo.ConnectCount;
|
||||
// } else {
|
||||
// var agentPriceEntity = await m_AgentPriceService.Query(m => m.agent_id == order.agent_id && m.package_id == order.PackageId).FirstOrDefaultAsync();
|
||||
// //使用天数 回补佣金
|
||||
// re_money = useDay * (refundDayPrice - agentPriceEntity.refund) * accountInfo.ConnectCount;
|
||||
// }
|
||||
if(agentEntity.discount_id != 0){
|
||||
var discount = await m_ProductPriceSchemeService.GetById(agentEntity.discount_id);
|
||||
re_money = useDay * (refundDayPrice - (product.RefundDayPrice).ToDecimal() * discount.discount / 100) * accountInfo.ConnectCount;
|
||||
} else {
|
||||
var agentPriceEntity = await m_AgentPriceService.Query(m => m.agent_id == order.agent_id && m.package_id == order.PackageId).FirstOrDefaultAsync();
|
||||
//使用天数 回补佣金
|
||||
re_money = useDay * (refundDayPrice - agentPriceEntity.refund) * accountInfo.ConnectCount;
|
||||
}
|
||||
|
||||
//佣金
|
||||
|
||||
Reference in New Issue
Block a user