小程序点歌 点歌记录增加shopId
This commit is contained in:
@@ -52,12 +52,13 @@ public class ShopSongController {
|
||||
@GetMapping("/record")
|
||||
public Result getRecord(
|
||||
@RequestHeader("openId") String openId,
|
||||
@RequestParam("shopId") Integer shopId,
|
||||
@RequestParam(defaultValue = "1") Integer page,
|
||||
@RequestParam(defaultValue = "10") Integer size,
|
||||
@RequestParam(required = false) Integer state,
|
||||
@RequestParam(defaultValue = "true") boolean isDesc
|
||||
) {
|
||||
return Result.successWithData(shopSongService.getRecord(openId, page, size, state, isDesc));
|
||||
return Result.successWithData(shopSongService.getRecord(openId, page, size, state, isDesc,shopId));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user