接口新增
This commit is contained in:
1 parent
02664623f7
commit
f5801dc84a
3 files changed
+32
-1
No files matched your search
@@ -30,6 +30,20 @@ public class AppsController extends BaseController {
|
||||
@Autowired
|
||||
private IAppsService appsService;
|
||||
|
||||
/** 返回管理员新增应用时固定使用的全局归集地址。 */
|
||||
@PreAuthorize("@ss.hasPermi('system:apps:add')")
|
||||
@GetMapping("/aggregation-address")
|
||||
public AjaxResult aggregationAddress() {
|
||||
return AjaxResult.success(appsService.getGlobalAggregationAddress());
|
||||
}
|
||||
|
||||
/** 返回商户新增应用时固定使用的全局归集地址。 */
|
||||
@PreAuthorize("@ss.hasPermi('system:apps:user-add')")
|
||||
@GetMapping("/user/aggregation-address")
|
||||
public AjaxResult userAggregationAddress() {
|
||||
return AjaxResult.success(appsService.getGlobalAggregationAddress());
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成 RSA 密钥对。私钥只在本次响应中返回,因此禁止操作日志保存响应体。
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user