This commit is contained in:
iVampireSP.com 2022-09-13 12:21:09 +08:00
parent 5f402e34ee
commit 7bb8c83946
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -26,7 +26,7 @@ public function store(Request $request) {
]);
// 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 至少要填写一个');
}