小程序点歌 新增获取正在演唱歌曲接口
This commit is contained in:
@@ -60,6 +60,11 @@ public class ShopSongController {
|
||||
return Result.successWithData(shopSongService.getRecord(openId, page, size, state, isDesc));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取正在播放的歌曲
|
||||
* @param openId 用户id
|
||||
* @return 歌曲信息
|
||||
*/
|
||||
@GetMapping("/singing")
|
||||
public Result getSinging(
|
||||
@RequestHeader("openId") String openId
|
||||
@@ -68,6 +73,12 @@ public class ShopSongController {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 创建订单
|
||||
* @param openId 用户信息
|
||||
* @param songOrderDTO 订单信息
|
||||
* @return result
|
||||
*/
|
||||
@PostMapping
|
||||
public Result createOrder(
|
||||
@RequestHeader("openId") String openId,
|
||||
|
||||
Reference in New Issue
Block a user