...
|
...
|
@@ -51,7 +51,7 @@ public function deleteSite(Request $request) |
|
|
try {
|
|
|
// $this->validate();
|
|
|
$domain = $request->input('domain');
|
|
|
if (empty($domain) && filter_var($domain, FILTER_VALIDATE_URL))
|
|
|
if (empty($domain) || filter_var($domain, FILTER_VALIDATE_URL))
|
|
|
return $this->error('请提交有效domain信息');
|
|
|
|
|
|
$result = app(BtRepository::class)->deleteBtSite($domain);
|
...
|
...
|
|