优惠券
This commit is contained in:
@@ -599,7 +599,7 @@ namespace Home.Controllers
|
||||
pas_result += rnd.ToString();
|
||||
}
|
||||
|
||||
Console.WriteLine("==================================================================");
|
||||
// Console.WriteLine("==================================================================");
|
||||
|
||||
string msg = "";
|
||||
|
||||
@@ -615,7 +615,7 @@ namespace Home.Controllers
|
||||
id_code=""
|
||||
};
|
||||
var ret = await m_UserService.Regist(userEntity);
|
||||
msg = "您好,打开网址:juip.com,登录会员名:"+phone+"("+notifyOrder.Payment+"元已充值到此账户),密码:"+pas_result+"。登录后点击网站上方的-产品购买,即可完成开通或续费。淘宝付款将随机赠送优惠券,欢迎您多来淘宝下单";
|
||||
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 {
|
||||
@@ -625,7 +625,7 @@ namespace Home.Controllers
|
||||
userEntity.TaoBao= notifyOrder.BuyerNick;
|
||||
await m_UserService.Update(userEntity);
|
||||
}
|
||||
msg = "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中,会员号为:"+userEntity.LoginCode+",打开网址:juip.com,登录后点击网站上方的-产品购买,即可完成开通或续费。淘宝付款将随机赠送优惠券,欢迎您多来淘宝下单";
|
||||
msg = "您好,"+notifyOrder.Payment+"元已充值到充值到您的会员中,会员号为:"+userEntity.LoginCode+",打开网址:juip.com,登录后点击网站上方的-产品购买,即可完成开通或续费。恭喜您本次获得优惠券(满4元减1元,满20元减3元,满54元减5元,满130元减15元,满490元减30元),各一张。欢迎您多来淘宝下单";
|
||||
|
||||
}
|
||||
|
||||
@@ -638,7 +638,11 @@ namespace Home.Controllers
|
||||
AttchInfo = notifyOrder.Tid
|
||||
};
|
||||
var retAmount = await m_UserService.UpdateAmount(amountInfo);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 9, notifyOrder.BuyerNick);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 11, notifyOrder.BuyerNick);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 12, notifyOrder.BuyerNick);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 13, notifyOrder.BuyerNick);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 14, notifyOrder.BuyerNick);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 15, notifyOrder.BuyerNick);
|
||||
|
||||
|
||||
var taobaoEntity = notifyOrder.MapTo<TaoBaoOrderEntity>();
|
||||
|
||||
Reference in New Issue
Block a user