|
@@ -2,6 +2,7 @@ package com.yh.saas.plugin.operation.controller;
|
|
|
|
|
|
import com.alipay.sofa.runtime.api.annotation.SofaReference;
|
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
|
|
+import com.winsea.svc.base.base.entity.CommonCompany;
|
|
|
import com.winsea.svc.base.base.entity.CommonTenant;
|
|
|
import com.winsea.svc.base.base.service.ICommonTenantService;
|
|
|
import com.winsea.svc.base.plugin.entity.TenantService;
|
|
@@ -52,6 +53,17 @@ public class TenantController {
|
|
|
return tenantId;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改租户信息
|
|
|
+ *
|
|
|
+ * @param tenant 租户信息
|
|
|
+ */
|
|
|
+ @PostMapping("/api/change")
|
|
|
+ public void change(@RequestBody CommonCompany tenant) {
|
|
|
+ tenantService.change(tenant);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 修改租户信息
|
|
|
*
|