修改询单验证器&状态范围

This commit is contained in:
mzl
2025-07-23 19:00:27 +08:00
parent d55b6bd4d9
commit 9fdf2dabde
2 changed files with 64 additions and 13 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class InquiryLogService
];
}
// 状态
if (isset($p['status']) && $p['status']) {
if (isset($p['status']) && in_array($p['status'], [0,1,2])) {
$config['where']['status'] = $p['status'];
}
// 关键字