局部优化
This commit is contained in:
@@ -107,7 +107,7 @@ namespace Home.Controllers
|
||||
m.Price = dis_price;
|
||||
m.Title = discount.Remark;
|
||||
} else {
|
||||
m.Title = "9";
|
||||
m.Title = "9.5";
|
||||
}
|
||||
if(m.Price<m.MinPrice){
|
||||
m.Price = m.MinPrice;
|
||||
@@ -124,7 +124,7 @@ namespace Home.Controllers
|
||||
foreach(var product in respList)
|
||||
{
|
||||
product.Packages.ForEach(m => {
|
||||
m.Title = "9";
|
||||
m.Title = "9.5";
|
||||
|
||||
var userPrice = userPrices.FirstOrDefault(p => p.PackageId == m.Id && p.ProductId == m.ProductId);
|
||||
if (userPrice != null && userPrice.UserPrice > 0)
|
||||
@@ -141,7 +141,7 @@ namespace Home.Controllers
|
||||
foreach(var product in respList)
|
||||
{
|
||||
product.Packages.ForEach(m => {
|
||||
m.Title = "9";
|
||||
m.Title = "9.5";
|
||||
if ( m.DayCount == 1 ){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
@@ -824,7 +824,7 @@ namespace Home.Controllers
|
||||
m.Price = dis_price;
|
||||
m.Title = discount.Remark;
|
||||
} else {
|
||||
m.Title = "9";
|
||||
m.Title = "9.5";
|
||||
}
|
||||
if(m.Price<m.MinPrice){
|
||||
m.Price = m.MinPrice;
|
||||
@@ -837,7 +837,7 @@ namespace Home.Controllers
|
||||
var userPrices = await m_ProductUserPriceService.GetProductUserPrice(id, userInfo.UserId);
|
||||
respList.Packages.ForEach(m =>
|
||||
{
|
||||
m.Title = "9";
|
||||
m.Title = "9.5";
|
||||
var userPrice = userPrices.FirstOrDefault(p => p.PackageId == m.Id);
|
||||
if (userPrice != null && userPrice.UserPrice > 0)
|
||||
{
|
||||
|
||||
@@ -581,7 +581,7 @@ namespace Home.Controllers
|
||||
{
|
||||
var notifyOrder = data.FromJsonTo<TaoBaoNotifyModel>();
|
||||
LogHelper.Info("TaoBao process");
|
||||
if(notifyOrder.Payment == "10.00" && notifyOrder.SellerNick == "聚ip商城动态ip代理"){
|
||||
if(notifyOrder.Payment == "10.00" && (notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")){
|
||||
return "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中";
|
||||
}
|
||||
if (notifyOrder == null || notifyOrder.Tid.NotHas())
|
||||
@@ -618,7 +618,7 @@ namespace Home.Controllers
|
||||
id_code=""
|
||||
};
|
||||
var ret = await m_UserService.Regist(userEntity);
|
||||
msg = "您好,打开网址:juip.com,登录会员名:"+phone+"("+notifyOrder.Payment+"元已充值到此账户),密码:"+pas_result+"。登录后点击网站上方的-产品购买,即可完成开通或续费。恭喜您本次获得优惠券(满4元减1元,满20元减3元,满54元减5元,满130元减15元,满490元减30元),各一张。欢迎您多来淘宝下单";
|
||||
msg = "您好,打开网址:juip.com,登录会员名:"+phone+"("+notifyOrder.Payment+"元已充值到此账户),密码:"+pas_result+"。这个会员名和密码不能直接使用,是用来登录官网的。登录后点击网站上方的-产品购买,即可完成开通或续费。在官网购买的账号密码可以直接使用。恭喜您本次获得优惠券(满4元减1元,满20元减3元,满54元减5元,满130元减15元,满490元减30元),各一张。欢迎您多来淘宝下单(人工客服在线时间:上午八点到晚上十一点半)";
|
||||
if (ret.Code != ResultCode.C_SUCCESS) return msg;
|
||||
|
||||
} else {
|
||||
@@ -628,7 +628,7 @@ namespace Home.Controllers
|
||||
userEntity.TaoBao= notifyOrder.BuyerNick;
|
||||
await m_UserService.Update(userEntity);
|
||||
}
|
||||
msg = "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中,会员号为:"+userEntity.LoginCode+",打开网址:juip.com,登录后点击网站上方的-产品购买,即可完成开通或续费。恭喜您本次获得优惠券(满4元减1元,满20元减3元,满54元减5元,满130元减15元,满490元减30元),各一张。欢迎您多来淘宝下单";
|
||||
msg = "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中,会员号为:"+userEntity.LoginCode+",打开网址:juip.com,登录后点击网站上方的-产品购买,即可完成开通或续费。恭喜您本次获得优惠券(满4元减1元,满20元减3元,满54元减5元,满130元减15元,满490元减30元),各一张。欢迎您多来淘宝下单(人工客服在线时间:上午八点到晚上十一点半)";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<h2 >十余种全网知名旗舰产品低价热销</h2>
|
||||
<h1 style="font-size:45px;">淘宝动态IP销量排名NO.1</h1>
|
||||
<h4 style="color: #e45b4b;">已完美对接淘宝、淘宝付款后、金额将自动充值到您的会员余额中</h4>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a230r.1.14.54.79837218R25iC8&id=640496688304&ns=1&abbucket=9#detail"><h4 style="color: #e45b4b;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元<br>优惠券支持所有套餐!<span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.45e51debbIPZJ7&ft=t&id=644774449094"><h4 style="color: #e45b4b;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元<br>优惠券支持所有套餐!<span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
</div>
|
||||
<div class="col-md-3 col-md-offset-1" style="padding-top:2%;">
|
||||
<h1>需求<span style="color: red;font-size:49px;">五个</span>以上</h1>
|
||||
@@ -57,12 +57,12 @@
|
||||
}
|
||||
else if(item.Product.Id == 6||item.Product.Id == 2||item.Product.Id == 4||item.Product.Id == 8 ) {
|
||||
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;">@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄底价</span></a>
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;">@item.Product.Name</a>
|
||||
</li>
|
||||
}
|
||||
else if(item.Product.Id == 18|| item.Product.Id == 5) {
|
||||
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;"><span style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄低价</span></a>
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;"><span style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name</a>
|
||||
</li>
|
||||
}
|
||||
else if(item.Product.Id == 17) {
|
||||
@@ -77,7 +77,7 @@
|
||||
} *@
|
||||
else if(item.Product.Id == 1||item.Product.Id == 14) {
|
||||
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"></span>@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄底价</span></a>
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" style="font-size: 25px;"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"></span>@item.Product.Name</a>
|
||||
</li>
|
||||
}
|
||||
else if(item.Product.Id == 7){
|
||||
@@ -88,7 +88,7 @@
|
||||
}
|
||||
else if(item.Product.Id == 19) {
|
||||
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" id="select-19" style="font-size: 25px;"><span style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄低价</span></a>
|
||||
<a href="#@item.Product.Id" role="tab" data-toggle="tab" id="select-19" style="font-size: 25px;"><span style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name</a>
|
||||
</li>
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<h2 >十余种全网知名旗舰产品低价热销</h2>
|
||||
<h1 style="font-size:45px;">淘宝动态IP销量排名NO.1</h1>
|
||||
<h4 style="color: #e45b4b;">已完美对接淘宝、淘宝付款后、金额将自动充值到您的会员余额中</h4>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a230r.1.14.54.79837218R25iC8&id=640496688304&ns=1&abbucket=9#detail"><h4 style="color: #e45b4b;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元<br>优惠券支持所有套餐!<span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.45e51debbIPZJ7&ft=t&id=644774449094"><h4 style="color: #e45b4b;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元<br>优惠券支持所有套餐!<span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
</div>
|
||||
<div class="col-md-3 col-md-offset-1" style="padding-top:2%;">
|
||||
<h1>需求<span style="color: red;font-size:49px;">五个</span>以上</h1>
|
||||
|
||||
@@ -46,5 +46,7 @@
|
||||
<p><a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E6%9E%81%E5%AE%A2IP%20-%20%E4%BB%A3%E7%90%86%E7%89%88.zip"> <button type="button" class="btnBlue">极客IP-电脑版</button></a></p><br>
|
||||
<p><a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E6%9E%81%E5%AE%A2IP%E5%AE%89%E5%8D%93%E4%BB%A3%E7%90%86%E7%89%88.apk"> <button type="button" class="btnBlue">极客IP-安卓</button></a></p><br>
|
||||
<p><a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E6%98%9F%E6%98%9FIP%E7%94%B5%E8%84%91%E7%AB%AF-4.10%E4%BB%A3%E7%90%86%E7%89%88.rar"> <button type="button" class="btnBlue">星星IP电脑端-代理版</button></a></p><br>
|
||||
<p><a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E8%AE%AF%E8%BF%9EIP%E7%94%B5%E8%84%91%E7%AB%AF-%E4%BB%A3%E7%90%86%E7%89%88.rar"> <button type="button" class="btnBlue">迅连IP-电脑版</button></a></p>
|
||||
<p><a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E5%BC%BA%E5%AD%90IP%E7%94%B5%E8%84%91%E7%AB%AF-%E4%BB%A3%E7%90%86%E7%89%88.rar"> <button type="button" class="btnBlue">强子IP-电脑版</button></a></p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -499,7 +499,7 @@
|
||||
<h2 style="padding-left:8%;">十余种全网知名旗舰产品低价热销</h2>
|
||||
<h1 style="font-size:45px;padding-left:6%;">淘宝动态IP销量排名NO.1</h1>
|
||||
<h4 style="color: #e45b4b;padding-left:5%;">已完美对接淘宝、淘宝付款后、金额将自动充值到您的会员余额中</h4>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a230r.1.14.54.79837218R25iC8&id=640496688304&ns=1&abbucket=9#detail"><h4 style="color: #e45b4b;padding-left:2%;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元,优惠券支持所有套餐! <span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.45e51debbIPZJ7&ft=t&id=644774449094"><h4 style="color: #e45b4b;padding-left:2%;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元,优惠券支持所有套餐! <span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -515,10 +515,10 @@
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id">@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">送一月</span></div>
|
||||
}
|
||||
else if(item.Product.Id == 6||item.Product.Id == 2||item.Product.Id == 4 ||item.Product.Id == 14||item.Product.Id == 8) {
|
||||
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id" a-pkg-id="@(item.Packages.FirstOrDefault(m=>m.Status==1).Id)">@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄底价</span></div>
|
||||
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id" a-pkg-id="@(item.Packages.FirstOrDefault(m=>m.Status==1).Id)">@item.Product.Name</div>
|
||||
}
|
||||
else if(item.Product.Id == 18|| item.Product.Id == 5|| item.Product.Id == 19) {
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> 新</span>@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄底价</span></div>
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> 新</span>@item.Product.Name</div>
|
||||
}
|
||||
else if(item.Product.Id == 17) {
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">送一月</span></div>
|
||||
@@ -527,7 +527,7 @@
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> </span>@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">无限送</span></div>
|
||||
} *@
|
||||
else if(item.Product.Id == 1) {
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> </span>@item.Product.Name <span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">抄底价</span></div>
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> </span>@item.Product.Name</div>
|
||||
}
|
||||
else if(item.Product.Id == 7) {
|
||||
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id">@item.Product.Name </div>
|
||||
|
||||
@@ -378,7 +378,7 @@
|
||||
<h2 style="padding-left:8%;">十余种全网知名旗舰产品低价热销</h2>
|
||||
<h1 style="font-size:45px;padding-left:6%;">淘宝动态IP销量排名NO.1</h1>
|
||||
<h4 style="color: #e45b4b;padding-left:5%;">已完美对接淘宝、淘宝付款后、金额将自动充值到您的会员余额中</h4>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a230r.1.14.54.79837218R25iC8&id=640496688304&ns=1&abbucket=9#detail"><h4 style="color: #e45b4b;padding-left:2%;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元,优惠券支持所有套餐! <span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
<a target="_blank" href="https://item.taobao.com/item.htm?spm=a2oq0.12575281.0.0.45e51debbIPZJ7&ft=t&id=644774449094"><h4 style="color: #e45b4b;padding-left:2%;">欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元,优惠券支持所有套餐! <span style="color:#FFFF00;">点击去淘宝店铺付款 <span class="glyphicon glyphicon-arrow-right"></span></span></h4></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -92,6 +92,12 @@
|
||||
<div class="item" style="margin-bottom: 5px;">
|
||||
<a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E6%98%9F%E6%98%9FIP%E7%94%B5%E8%84%91%E7%AB%AF-4.10%E4%BB%A3%E7%90%86%E7%89%88.rar"> <button type="button" class="btn btn-sdefault" style="width: auto;">星星IP电脑端-代理版</button></a>
|
||||
</div>
|
||||
<div class="item" style="margin-bottom: 5px;">
|
||||
<a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E8%AE%AF%E8%BF%9EIP%E7%94%B5%E8%84%91%E7%AB%AF-%E4%BB%A3%E7%90%86%E7%89%88.rar"> <button type="button" class="btn btn-sdefault" style="width: auto;">迅连IP-电脑版</button></a>
|
||||
</div>
|
||||
<div class="item" style="margin-bottom: 5px;">
|
||||
<a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E5%BC%BA%E5%AD%90IP%E7%94%B5%E8%84%91%E7%AB%AF-%E4%BB%A3%E7%90%86%E7%89%88.rar"> <button type="button" class="btn btn-sdefault" style="width: auto;">强子IP-电脑版</button></a>
|
||||
</div>
|
||||
|
||||
<p>免安装,下载后直接打开</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user