水滴上线
This commit is contained in:
@@ -657,19 +657,19 @@ namespace Home.Controllers
|
||||
Func<string, Task<string>> process = async (data) =>
|
||||
{
|
||||
var notifyOrder = data.FromJsonTo<TaoBaoNotifyModel>();
|
||||
LogHelper.Info("TaoBao process");
|
||||
if(notifyOrder.Payment == "10.00" && (notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")||notifyOrder.SellerNick == "强子pptp动态"){
|
||||
return "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中";
|
||||
}
|
||||
|
||||
// if(notifyOrder.Payment == "10.00" && (notifyOrder.SellerNick == "聚ip商城动态ip代理" || notifyOrder.SellerNick == "老鹰动态pptp")||notifyOrder.SellerNick == "强子pptp动态"){
|
||||
// return "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中";
|
||||
// }
|
||||
if (notifyOrder == null || notifyOrder.Tid.NotHas())
|
||||
return "";
|
||||
|
||||
if (m_ScoreService.ExistTaoBaoScore(notifyOrder.Tid))
|
||||
return "";
|
||||
// var phone = notifyOrder.ReceiverMobile.NotHas() ? notifyOrder.ReceiverPhone : notifyOrder.ReceiverMobile;
|
||||
var phone = notifyOrder.ReceiverMobile.NotHas() ? notifyOrder.Tid : notifyOrder.ReceiverMobile;
|
||||
// if (phone.NotHas()) return false;
|
||||
var userEntity = await m_UserService.Query(m => m.TaoBao == notifyOrder.BuyerNick).FirstOrDefaultAsync();
|
||||
var phone = notifyOrder.BuyerNick;
|
||||
// var phone = notifyOrder.BuyerNick;
|
||||
|
||||
string pas_result = "";
|
||||
Random rd = new Random(Guid.NewGuid().GetHashCode());
|
||||
@@ -705,7 +705,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+",打开网址:www.juip.com,登录后点击网站上方的-产品购买,即可完成开通或续费。恭喜您本次获得优惠券(满4元减1元,满20元减3元,满54元减5元,满130元减15元,满490元减30元),各一张。欢迎您多来淘宝下单(人工客服在线时间:上午八点到晚上十一点半)";
|
||||
|
||||
}
|
||||
|
||||
@@ -758,9 +758,11 @@ namespace Home.Controllers
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
long aopic = long.Parse(this.Request.Query["aopic"]);
|
||||
string datainfo = this.Request.Form["json"];
|
||||
var refundInfos = datainfo.FromJsonTo<TaoBaoRefundModel>();
|
||||
LogHelper.Info("淘宝参数回调", $"json={datainfo.ToJson()}");
|
||||
var info = "";
|
||||
if (aopic == 2){
|
||||
info = await m_TaoBaoService.ReceivedMsg(this.Request, process);
|
||||
|
||||
Reference in New Issue
Block a user