小程序点歌 新增获取正在演唱歌曲接口

This commit is contained in:
2024-07-12 14:32:12 +08:00
parent 95c22ee51c
commit 41c264d325
4 changed files with 22 additions and 0 deletions

View File

@@ -44,4 +44,11 @@ public interface TbShopSongService {
* @return 订单信息
*/
Map<String, Object> getDetail(String openId, Integer id);
/**
* 正在演唱的歌曲
* @param openId 用户id
* @return 歌曲信息
*/
Object getSinging(String openId);
}

View File

@@ -133,6 +133,11 @@ public class TbShopSongServiceImpl implements TbShopSongService{
}
return map;
}
@Override
public Object getSinging(String openId) {
return shopSongOrderMapper.selectSinging(openId);
}
}