|
|
@@ -104,11 +104,10 @@ public class UserArchivesController extends BaseController {
|
|
|
@GetMapping("/queryByUidAll")
|
|
|
public Result queryByUidAll( String id) {
|
|
|
Result res = new Result<>();
|
|
|
- if (userArchivesService.checkPermission(id)){
|
|
|
- res.error(buildError("查看权限不足"));
|
|
|
- return res;
|
|
|
- }
|
|
|
-
|
|
|
+// if (userArchivesService.checkPermission(id)){
|
|
|
+// res.error(buildError("查看权限不足"));
|
|
|
+// return res;
|
|
|
+// }
|
|
|
res.data(this.userArchivesService.queryByUidAll(id));
|
|
|
return res;
|
|
|
}
|