Commit eebb84bd authored by 黄奎's avatar 黄奎
parents 1fedf016 b316983b
...@@ -97,6 +97,16 @@ namespace Mall.WebApi.Controllers.User ...@@ -97,6 +97,16 @@ namespace Mall.WebApi.Controllers.User
return ApiResult.ParamIsNull("请传递唯一码"); 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.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(); 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