害
This commit is contained in:
parent
5f402e34ee
commit
7bb8c83946
@ -26,7 +26,7 @@ public function store(Request $request) {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// module_id 和 host_id 必须有个要填写
|
// module_id 和 host_id 必须有个要填写
|
||||||
if ($request->module_id == null && $request->host_id = null) {
|
if ($request['module_id'] == null && $request['host_id'] = null) {
|
||||||
return $this->error('module_id 和 host_id 至少要填写一个');
|
return $this->error('module_id 和 host_id 至少要填写一个');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user