Ver código fonte

Merge branch 'dev' into 'mp-server-test'

已兑奖不抛异常

See merge request quanshu/mp-server!161
zhong chunping 3 anos atrás
pai
commit
d2fb1a1f7e

+ 2 - 2
mp-admin/src/main/java/com/qs/mp/web/controller/api/user/UserTicketController.java

@@ -112,9 +112,9 @@ public class UserTicketController extends BaseApiController {
       return AjaxResult.error("参数异常,盲票不存在");
     }
 
-    if (ticket.getStatus() == TicketStatusEnum.CASHED) {
+    /*if (ticket.getStatus() == TicketStatusEnum.CASHED) {
       return AjaxResult.error(ErrorCodeEnum.ERROR_CODE_1017);
-    }
+    }*/
 
     // 已付款的盲票,需要校验当前用户是否有权限查看
     /*if (ticket.getStatus() == TicketStatusEnum.ACTIVATED) {