|
@@ -24,7 +24,7 @@ public class StorageReController {
|
|
|
*
|
|
*
|
|
|
* @return 默认创建空间大小
|
|
* @return 默认创建空间大小
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/getDefaultStorage")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/getDefaultStorage")
|
|
|
public CommonResult<Long> getDefaultStorage() {
|
|
public CommonResult<Long> getDefaultStorage() {
|
|
|
return storageReService.getDefaultStorage();
|
|
return storageReService.getDefaultStorage();
|
|
|
}
|
|
}
|
|
@@ -34,7 +34,7 @@ public class StorageReController {
|
|
|
*
|
|
*
|
|
|
* @return 修改结果
|
|
* @return 修改结果
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/updateDefaultStorage")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/updateDefaultStorage")
|
|
|
public CommonResult<String> updateDefaultStorage(@RequestParam(value = "size") Long size) {
|
|
public CommonResult<String> updateDefaultStorage(@RequestParam(value = "size") Long size) {
|
|
|
return storageReService.updateDefaultStorage(size);
|
|
return storageReService.updateDefaultStorage(size);
|
|
|
}
|
|
}
|
|
@@ -46,7 +46,7 @@ public class StorageReController {
|
|
|
* @param getUserStorageDTO 查询条件
|
|
* @param getUserStorageDTO 查询条件
|
|
|
* @return 所有用户的存储空间大小
|
|
* @return 所有用户的存储空间大小
|
|
|
*/
|
|
*/
|
|
|
- @PostMapping("/storage/getUserStorageList")
|
|
|
|
|
|
|
+ @PostMapping("/storagere/getUserStorageList")
|
|
|
public CommonResult<TableDataInfo<StorageReBeanVO>> getUserStorageList(@RequestBody GetUserStorageDTO getUserStorageDTO) {
|
|
public CommonResult<TableDataInfo<StorageReBeanVO>> getUserStorageList(@RequestBody GetUserStorageDTO getUserStorageDTO) {
|
|
|
return storageReService.getUserStorageList(getUserStorageDTO);
|
|
return storageReService.getUserStorageList(getUserStorageDTO);
|
|
|
}
|
|
}
|
|
@@ -57,7 +57,7 @@ public class StorageReController {
|
|
|
* @param getUserStorageDTO 更改条件
|
|
* @param getUserStorageDTO 更改条件
|
|
|
* @return 更改结果
|
|
* @return 更改结果
|
|
|
*/
|
|
*/
|
|
|
- @PostMapping("/storage/updateUserStorage")
|
|
|
|
|
|
|
+ @PostMapping("/storagere/updateUserStorage")
|
|
|
public CommonResult<String> updateUserStorage(@RequestBody GetUserStorageDTO getUserStorageDTO) {
|
|
public CommonResult<String> updateUserStorage(@RequestBody GetUserStorageDTO getUserStorageDTO) {
|
|
|
return storageReService.updateUserStorage(getUserStorageDTO);
|
|
return storageReService.updateUserStorage(getUserStorageDTO);
|
|
|
}
|
|
}
|
|
@@ -68,7 +68,7 @@ public class StorageReController {
|
|
|
*
|
|
*
|
|
|
* @return 用户存储空间大小
|
|
* @return 用户存储空间大小
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/getUserStorage")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/getUserStorage")
|
|
|
public CommonResult<Long> getUserStorage() {
|
|
public CommonResult<Long> getUserStorage() {
|
|
|
return storageReService.getUserStorage();
|
|
return storageReService.getUserStorage();
|
|
|
}
|
|
}
|
|
@@ -80,7 +80,7 @@ public class StorageReController {
|
|
|
* @param capacityAuditInfo 申请信息
|
|
* @param capacityAuditInfo 申请信息
|
|
|
* @return 提交结果
|
|
* @return 提交结果
|
|
|
*/
|
|
*/
|
|
|
- @PostMapping("/storage/applyChangeStorage")
|
|
|
|
|
|
|
+ @PostMapping("/storagere/applyChangeStorage")
|
|
|
public CommonResult<String> applyChangeStorage(@RequestBody CapacityReAuditInfo capacityReAuditInfo) {
|
|
public CommonResult<String> applyChangeStorage(@RequestBody CapacityReAuditInfo capacityReAuditInfo) {
|
|
|
return storageReService.applyChangeStorage(capacityReAuditInfo);
|
|
return storageReService.applyChangeStorage(capacityReAuditInfo);
|
|
|
}
|
|
}
|
|
@@ -94,7 +94,7 @@ public class StorageReController {
|
|
|
* @param usernameOrNickname 用户名或昵称
|
|
* @param usernameOrNickname 用户名或昵称
|
|
|
* @return 存储空间大小变更申请列表
|
|
* @return 存储空间大小变更申请列表
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/getCapacityAuditList")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/getCapacityAuditList")
|
|
|
public CommonResult<TableDataInfo<CapacityReAuditInfoVo>> getCapacityAuditList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
public CommonResult<TableDataInfo<CapacityReAuditInfoVo>> getCapacityAuditList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
|
@RequestParam(value = "pageSize") Integer pageSize,
|
|
@RequestParam(value = "pageSize") Integer pageSize,
|
|
|
@RequestParam(value = "auditState", required = false) Integer auditState,
|
|
@RequestParam(value = "auditState", required = false) Integer auditState,
|
|
@@ -108,7 +108,7 @@ public class StorageReController {
|
|
|
* @param id 申请ID
|
|
* @param id 申请ID
|
|
|
* @return 申请详情
|
|
* @return 申请详情
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/getCapacityAuditDetail")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/getCapacityAuditDetail")
|
|
|
public CommonResult<CapacityReAuditInfoVo> getCapacityAuditDetail(@RequestParam(value = "id") String id) {
|
|
public CommonResult<CapacityReAuditInfoVo> getCapacityAuditDetail(@RequestParam(value = "id") String id) {
|
|
|
return storageReService.getCapacityAuditDetail(id);
|
|
return storageReService.getCapacityAuditDetail(id);
|
|
|
}
|
|
}
|
|
@@ -122,7 +122,7 @@ public class StorageReController {
|
|
|
* @param rejectReason 拒绝原因
|
|
* @param rejectReason 拒绝原因
|
|
|
* @return 审核结果
|
|
* @return 审核结果
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/auditCapacityAudit")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/auditCapacityAudit")
|
|
|
public CommonResult<String> auditCapacityAudit(@RequestParam(value = "id") String id,
|
|
public CommonResult<String> auditCapacityAudit(@RequestParam(value = "id") String id,
|
|
|
@RequestParam(value = "auditState") Integer auditState,
|
|
@RequestParam(value = "auditState") Integer auditState,
|
|
|
@RequestParam(value = "rejectReason", required = false) String rejectReason) {
|
|
@RequestParam(value = "rejectReason", required = false) String rejectReason) {
|
|
@@ -138,7 +138,7 @@ public class StorageReController {
|
|
|
* @param auditState 申请状态 0待审核 1审核通过 2拒绝
|
|
* @param auditState 申请状态 0待审核 1审核通过 2拒绝
|
|
|
* @return 申请记录列表
|
|
* @return 申请记录列表
|
|
|
*/
|
|
*/
|
|
|
- @GetMapping("/storage/getUserCapacityAuditList")
|
|
|
|
|
|
|
+ @GetMapping("/storagere/getUserCapacityAuditList")
|
|
|
public CommonResult<TableDataInfo<CapacityReAuditInfoVo>> getUserCapacityAuditList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
public CommonResult<TableDataInfo<CapacityReAuditInfoVo>> getUserCapacityAuditList(@RequestParam(value = "pageNum") Integer pageNum,
|
|
|
@RequestParam(value = "pageSize") Integer pageSize,
|
|
@RequestParam(value = "pageSize") Integer pageSize,
|
|
|
@RequestParam(value = "auditState", required = false) Integer auditState) {
|
|
@RequestParam(value = "auditState", required = false) Integer auditState) {
|