水滴上线

This commit is contained in:
“wanyongkang”
2024-02-01 17:43:16 +08:00
parent 481f39b9c5
commit d8031b41e3
19 changed files with 2215 additions and 235 deletions

View File

@@ -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);