修正前台查詢錯誤

This commit is contained in:
ericli1018
2025-07-10 14:31:51 +08:00
parent 355db2c0f9
commit cd366e559e
8 changed files with 6 additions and 6 deletions

View File

@ -320,7 +320,7 @@ class MetabolismFillFormController extends Controller
if ($eventItem->check_state == 1) {
throw new \Exception('您已經登記審查,請等待審查完成。');
}
if ($eventItem->check_state == 2) {
if ($eventItem->check_state != 2) {
$rejectReason = $eventItem->check_reson;
throw new \Exception('您的審查未通過,請依以下原因說明重新登記。');
}