小程序点歌 点歌记录增加shopId

This commit is contained in:
2024-07-16 11:35:33 +08:00
parent e785ee6467
commit 50ec8c7cd7
4 changed files with 10 additions and 9 deletions

View File

@@ -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));
}
/**