api/system/apps/user 商户创建应用报错
This commit is contained in:
1 parent
6bdf96ab70
commit
bdad69ba77
1 file changed
+12
@@ -152,6 +152,18 @@ public class AppsController extends BaseController {
|
||||
return toAjax(appsService.insertApps(apps, false));
|
||||
}
|
||||
|
||||
/**
|
||||
* 商户创建自己的应用。所属用户、初始余额、归集地址和密钥均由服务端确定,
|
||||
* 请求中的对应字段不会被信任。
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:apps:user-add')")
|
||||
@Log(title = "商户创建应用", businessType = BusinessType.INSERT,
|
||||
isSaveResponseData = false)
|
||||
@PostMapping("/user")
|
||||
public AjaxResult userAdd(@RequestBody Apps apps) {
|
||||
return toAjax(appsService.insertApps(apps, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改应用管理
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user