feat:恢复权限
This commit is contained in:
1 parent
76d5d9ad2a
commit
fbf6d10da8
1 file changed
+1
+1
@@ -43,6 +43,7 @@ public class WalletRechargeImportController {
|
|||||||
@Operation(summary = "恢复", description = "恢复")
|
@Operation(summary = "恢复", description = "恢复")
|
||||||
@Idempotent(expireTime = 5, info = "正在处理中,请勿重复操作")
|
@Idempotent(expireTime = 5, info = "正在处理中,请勿重复操作")
|
||||||
@GetMapping("/recover")
|
@GetMapping("/recover")
|
||||||
|
@PreAuthorize("@pms.hasPermission('wallet_walletRechargeImport_recover')")
|
||||||
public R<Boolean> recover(@RequestParam Long id) {
|
public R<Boolean> recover(@RequestParam Long id) {
|
||||||
return R.ok(walletRechargeImportService.recover(id));
|
return R.ok(walletRechargeImportService.recover(id));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user