更新若干bug

This commit is contained in:
hero920103 committed 2026-03-11 11:11:10 +08:00
1 parent 5dffe62adc
commit f134b0e759
6 files changed
+210 -25

No files matched your search

@@ -117,6 +117,18 @@ class TenantDomainController extends BaseController
]);
}
// 检查该租户是否已有域名数据
$hasDomain = TenantDomain::where('tid', $tid)
->where('delete_time', null)
->find();
if ($hasDomain) {
return json([
'code' => 400,
'msg' => '该租户已有域名,请删除后再次申请'
]);
}
if (empty($subDomain)) {
return json([
'code' => 400,