Commit b316983b authored by liudong1993's avatar liudong1993

1

parent b064bf4c
......@@ -97,6 +97,16 @@ namespace Mall.WebApi.Controllers.User
return ApiResult.ParamIsNull("请传递唯一码");
}
var opcache = UserReidsCache.GetMiniAppUsetOpenId(demodel.OpenId);
if (opcache != null && !string.IsNullOrEmpty(opcache.UserOpenId))
{
UserReidsCache.DeleteMiniAppUsetOpenId(demodel.OpenId);
demodel.OpenId = opcache.UserOpenId;
}
else {
return ApiResult.ParamIsNull("未获取到唯一码,请刷新后再试");
}
Model.Extend.MarketingCenter.RB_DiscountCoupon_Extend couponResult = new Model.Extend.MarketingCenter.RB_DiscountCoupon_Extend();
Model.Extend.Education.RB_Education_Coupon_Extend educationCouponResult = new Model.Extend.Education.RB_Education_Coupon_Extend();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment