更新请求方式为patch
This commit is contained in:
parent
f63b5cfa61
commit
bd16dc8f23
@ -52,21 +52,21 @@ public class XhpcTenantController extends BaseController {
|
||||
|
||||
|
||||
@Log(title = "租户管理-更新租户信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/detail")
|
||||
@PatchMapping("/detail")
|
||||
public R updateTenant(@RequestBody XhpcTenantDomain domain){
|
||||
return R.ok(tenantService.updateTenantInfo(domain));
|
||||
}
|
||||
|
||||
|
||||
@Log(title = "租户管理-更新租户授权配置信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/config")
|
||||
@PatchMapping("/config")
|
||||
public R updateTenantConfig(@RequestBody XhpcTenantDomain domain){
|
||||
return R.ok(tenantService.updateTenantConfig(domain));
|
||||
}
|
||||
|
||||
|
||||
@Log(title = "租户管理-更新租户状态", businessType = BusinessType.UPDATE)
|
||||
@PutMapping("/status")
|
||||
@PatchMapping("/status")
|
||||
public R updateTenantStatus(@RequestBody XhpcTenantDomain domain){
|
||||
return R.ok(tenantService.updateTenantConfig(domain));
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@ spring:
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
com.xhpc.workorder.mapper: debug
|
||||
com.xhpc.tenant.mapper: debug
|
||||
|
||||
file:
|
||||
path: "d:\\logs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user