优惠卷
This commit is contained in:
@@ -600,6 +600,11 @@ namespace Home.Controllers
|
||||
if (ret.Code != ResultCode.C_SUCCESS) return false;
|
||||
} else {
|
||||
phone = userEntity.Phone;
|
||||
|
||||
if(userEntity.TaoBao == null){
|
||||
userEntity.TaoBao= notifyOrder.BuyerNick;
|
||||
await m_UserService.Update(userEntity);
|
||||
}
|
||||
}
|
||||
|
||||
var amountInfo = new UpdateAmountRequest()
|
||||
@@ -611,7 +616,7 @@ namespace Home.Controllers
|
||||
AttchInfo = notifyOrder.Tid
|
||||
};
|
||||
var retAmount = await m_UserService.UpdateAmount(amountInfo);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 9, userEntity.TaoBao);
|
||||
await m_CouponService.TaoBaoGive(userEntity.Id, 9, notifyOrder.BuyerNick);
|
||||
|
||||
|
||||
var taobaoEntity = notifyOrder.MapTo<TaoBaoOrderEntity>();
|
||||
|
||||
Reference in New Issue
Block a user