|
@@ -77,7 +77,7 @@ public class UserMusicController {
|
|
|
|
|
|
@ApiOperation(value = "保存草稿/发布作品", notes = "用户曲目作品- 传入 UserMusicWrapper.UserMusic")
|
|
|
@PostMapping("/save")
|
|
|
- public HttpResponseResult<Long> add(@Validated @RequestBody UserMusicWrapper.AddUserMusic userMusic) {
|
|
|
+ public HttpResponseResult<String> add(@Validated @RequestBody UserMusicWrapper.AddUserMusic userMusic) {
|
|
|
SysUser user = sysUserFeignService.queryUserInfo();
|
|
|
if (user == null || null == user.getId()) {
|
|
|
return failed(HttpStatus.FORBIDDEN, "请登录");
|
|
@@ -87,7 +87,7 @@ public class UserMusicController {
|
|
|
// 新增数据
|
|
|
;
|
|
|
|
|
|
- return HttpResponseResult.succeed(userMusicService.save(userMusic));
|
|
|
+ return HttpResponseResult.succeed(userMusicService.save(userMusic).toString());
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "删除", notes = "用户曲目作品- 传入id")
|