|
@@ -196,13 +196,9 @@ class DomainInfoController extends BaseController |
|
@@ -196,13 +196,9 @@ class DomainInfoController extends BaseController |
|
196
|
$this->request->validate([
|
196
|
$this->request->validate([
|
|
197
|
'id'=>'required',
|
197
|
'id'=>'required',
|
|
198
|
'type' => 'required',
|
198
|
'type' => 'required',
|
|
199
|
- 'other_domain'=>'required',
|
|
|
|
200
|
- 'extend_config'=>'required'
|
|
|
|
201
|
],[
|
199
|
],[
|
|
202
|
'id.required' => 'id不能为空',
|
200
|
'id.required' => 'id不能为空',
|
|
203
|
'type.required' => '类型不能为空',
|
201
|
'type.required' => '类型不能为空',
|
|
204
|
- 'other_domain.required' => '其他域名不能为空',
|
|
|
|
205
|
- 'extend_config.required' => '301配置不能为空',
|
|
|
|
206
|
]);
|
202
|
]);
|
|
207
|
$domainInfoLogic->sslSave();
|
203
|
$domainInfoLogic->sslSave();
|
|
208
|
$this->response('success');
|
204
|
$this->response('success');
|