修改业务以及极客
This commit is contained in:
@@ -679,10 +679,17 @@ namespace Home.Controllers
|
||||
Func<string, Task<string>> process = async (data) =>
|
||||
{
|
||||
var notifyOrder = data.FromJsonTo<TaoBaoNotifyModel>();
|
||||
var taobaoEntity = notifyOrder.MapTo<TaoBaoOrderEntity>();
|
||||
|
||||
// if(notifyOrder.Payment == "10.00" && (notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")||notifyOrder.SellerNick == "强子pptp动态"){
|
||||
// return "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中";
|
||||
// }
|
||||
if((notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")||notifyOrder.SellerNick == "强子pptp动态"||notifyOrder.SellerNick == "可乐开发商"){
|
||||
|
||||
taobaoEntity.Phone = "none";
|
||||
taobaoEntity.SkuPropertiesName = notifyOrder.Orders.FirstOrDefault()?.SkuPropertiesName;
|
||||
|
||||
await m_TaoBaoService.Add(taobaoEntity);
|
||||
|
||||
return "亲,您这边是需要我们代开还是您自己开,默认是自己到官网开哈,官网juip.com。";
|
||||
}
|
||||
if (notifyOrder == null || notifyOrder.Tid.NotHas())
|
||||
return "";
|
||||
|
||||
@@ -747,7 +754,6 @@ namespace Home.Controllers
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 15, notifyOrder.BuyerNick);
|
||||
|
||||
|
||||
var taobaoEntity = notifyOrder.MapTo<TaoBaoOrderEntity>();
|
||||
taobaoEntity.Phone = phone;
|
||||
taobaoEntity.SkuPropertiesName = notifyOrder.Orders.FirstOrDefault()?.SkuPropertiesName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user