更新请求方式为patch

This commit is contained in:
panshuling321 2022-02-11 17:14:51 +08:00
parent f63b5cfa61
commit bd16dc8f23
2 changed files with 4 additions and 4 deletions

View File

@ -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));
}

View File

@ -27,7 +27,7 @@ spring:
logging:
level:
root: info
com.xhpc.workorder.mapper: debug
com.xhpc.tenant.mapper: debug
file:
path: "d:\\logs"