|
@@ -377,22 +377,22 @@ public class WxAuthApi {
|
|
|
@GetMapping("/get/published/video/list")
|
|
|
public ResponseJson<PageInfo<ChallengeRoundVo>> getPublishedVideoList(@CurrentUser SysUser sysUser,Integer status,String clubUserName,Integer cursor,Integer count,@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
|
|
|
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize){
|
|
|
- if (null == sysUser) {
|
|
|
- return ResponseJson.error("用户信息异常", null);
|
|
|
- }
|
|
|
- // 获取供应商用户id
|
|
|
- Integer userIdentity = sysUser.getUserIdentity();
|
|
|
- Integer authUserId = 2 == userIdentity ? sysUser.getId() : 3 == userIdentity ? sysUser.getParentId() : null;
|
|
|
- if (null == authUserId) {
|
|
|
- return ResponseJson.error("供应商用户id不能为空", null);
|
|
|
- }
|
|
|
+// if (null == sysUser) {
|
|
|
+// return ResponseJson.error("用户信息异常", null);
|
|
|
+// }
|
|
|
+// // 获取供应商用户id
|
|
|
+// Integer userIdentity = sysUser.getUserIdentity();
|
|
|
+// Integer authUserId = 2 == userIdentity ? sysUser.getId() : 3 == userIdentity ? sysUser.getParentId() : null;
|
|
|
+// if (null == authUserId) {
|
|
|
+// return ResponseJson.error("供应商用户id不能为空", null);
|
|
|
+// }
|
|
|
if(count==null){
|
|
|
count=10;
|
|
|
}
|
|
|
if(cursor==null){
|
|
|
cursor=0;
|
|
|
}
|
|
|
- return authService.getPublishedVideoList(clubUserName,status,cursor,count,authUserId,pageNum,pageSize);
|
|
|
+ return authService.getPublishedVideoList(clubUserName,status,cursor,count,pageNum,pageSize);
|
|
|
}
|
|
|
|
|
|
/**
|