Commit 16cb8b26df25ef59c8d081900feec1e3b87dce5f

Authored by litao@lymsh.com
1 parent 586075969e

1

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/CouponController.java View file @ 16cb8b2
... ... @@ -95,7 +95,7 @@
95 95 public BaseObjectResponse validate(@PathVariable String code, @PathVariable Integer type, String userId, HttpServletRequest request) {
96 96 if(StringUtils.isNotEmpty(userId)) {
97 97 if(!couponService.validateUser(userId, code)) { /** 优惠券不属于本人 */
98   - return RespBuilder.buildErro(ResponseCode.COUPON_IS_USED);
  98 + return RespBuilder.buildErro(ResponseCode.COUPON_IS_NOT_SELF);
99 99 }
100 100 }
101 101 return couponService.validate(code, type, autoMatchFacade.getHospitalId(getUserId(request)));