Commit 36e95e96 authored by 吴春's avatar 吴春

提交

parent 3ea61c1e
...@@ -1253,11 +1253,11 @@ namespace Mall.WebApi.Controllers.User ...@@ -1253,11 +1253,11 @@ namespace Mall.WebApi.Controllers.User
} }
if (resultModel != null && resultModel.ID > 0) if (resultModel != null && resultModel.ID > 0)
{ {
return ApiResult.CouponSuccess(ResultCode.Success, resultModel.Name); return ApiResult.CouponSuccess(ResultCode.Success,1, resultModel.Name);
} }
else else
{ {
return ApiResult.CouponFailed(ResultCode.Fail, ""); return ApiResult.CouponFailed(ResultCode.Fail,1, "");
} }
//RB_DiscountCoupon_Extend resultModel = couponModule.AutoCoupon(query); //RB_DiscountCoupon_Extend resultModel = couponModule.AutoCoupon(query);
......
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