Commit 2c8088474fe34cb9d307ed616bd37f6d586efb5c

Authored by litao
1 parent f786b5dfba

bug修复

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/CouponController.java View file @ 2c80884
... ... @@ -115,9 +115,11 @@
115 115 * @param couponTypes 要删除的类型
116 116 */
117 117 @RequestMapping(method = RequestMethod.POST, value = "/invalid")
118   - public void invalid(HttpServletRequest request,String personId, String couponTypes){
  118 + @ResponseBody
  119 + public BaseObjectResponse invalid(HttpServletRequest request,String personId, String couponTypes){
119 120 LOG.info("invalid>>> personId: {}, couponTypes: {} ", personId, couponTypes);
120 121 couponService.invalid(personId, couponTypes);
  122 + return RespBuilder.buildSuccess();
121 123 }
122 124  
123 125