cup 2 년 전
부모
커밋
7a9a0a3c97
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mp-admin/src/main/java/com/qs/mp/web/controller/api/user/UserTicketController.java

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

@@ -521,7 +521,7 @@ public class UserTicketController extends BaseApiController {
         jsonObject.put("prizeList", ticketAwardsPrizes);
         jsonObject.put("ticketId", ticket.getTicketId());
         jsonObject.put("boxId", ticket.getBoxId());
-        jsonObject.put("type", ticketBox.getType());
+        jsonObject.put("type", ticketBox.getType().getValue());
         return AjaxResult.success(jsonObject);
     }