1.租赁应用详情创建凭证,第一次没有显示api Secret ,使用密码框,请修正 2. 提供凭证删除功能。
This commit is contained in:
1 parent
6321cde4c0
commit
a83e1fef40
5 files changed
+94
-2
No files matched your search
@@ -131,6 +131,14 @@ public class RentalController {
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
/** 删除未使用的本人应用凭证,不能绕过历史引用保护。 */
|
||||
@DeleteMapping("/credential/{id}")
|
||||
@PreAuthorize("@ss.hasPermi('rent:credential:issue')")
|
||||
public AjaxResult removeCredential(@PathVariable long id) {
|
||||
identity.deleteAppCredential(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