|
@@ -47,6 +47,8 @@ import ma.glasnost.orika.MapperFacade;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import javax.ws.rs.POST;
|
|
|
+
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/api/v1/mp/user")
|
|
@@ -241,7 +243,7 @@ public class UserTicketController extends BaseApiController {
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/ticket/hitPrizeBarrage")
|
|
|
+ @PostMapping("/ticket/hitPrizeBarrage")
|
|
|
@ApiOperation(value = "中奖弹幕", notes = "获取最近中奖的 20-22 条信息")
|
|
|
public AjaxResult hitPrizeBarrage() {
|
|
|
|
|
@@ -249,7 +251,7 @@ public class UserTicketController extends BaseApiController {
|
|
|
Long userId = 0L;
|
|
|
|
|
|
if (hostHolder.getUser() != null) {
|
|
|
- userId = SecurityUtils.getLoginUser().getUserId();
|
|
|
+ userId = hostHolder.getUser().getUserId();
|
|
|
}
|
|
|
|
|
|
// 弹幕列表
|