views/rental/nodeDetail 租赁地址,添加可以删除待验证的地址功能
This commit is contained in:
1 parent
dafa5261bd
commit
624110e43c
4 files changed
+76
No files matched your search
@@ -184,6 +184,14 @@ public class RentalController {
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
/** 删除本人尚未完成所有权验证的待审核地址。 */
|
||||
@DeleteMapping("/wallet/{id}")
|
||||
@PreAuthorize("@ss.hasPermi('rent:wallet:bind')")
|
||||
public AjaxResult removeWallet(@PathVariable long id) {
|
||||
provisioning.deletePendingWallet(id, user());
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
@PostMapping("/wallet/{id}/challenge")
|
||||
@PreAuthorize("@ss.hasPermi('rent:wallet:bind')")
|
||||
public AjaxResult challenge(@PathVariable long id) {
|
||||
|
||||
Reference in new issue
Block a user