|
|
@@ -59,6 +59,17 @@ public class AccountCenterController {
|
|
|
return Result.success();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 解绑默认企业
|
|
|
+ * @param bindCompanyDTO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/unBind/defaultCompany")
|
|
|
+ public Result unBindDefaultCompany(@RequestBody BindCompanyDTO bindCompanyDTO){
|
|
|
+ accountCenterService.unBindDefaultCompany(bindCompanyDTO.getCompanyId(), bindCompanyDTO.getAccountId());
|
|
|
+ return Result.success();
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 校验企业名称时候已在账户中心注册过
|
|
|
* @param spaceName
|