15168162575 hace 2 años
padre
commit
969cbbf3db
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      application/admin/controller/Res.php

+ 5 - 0
application/admin/controller/Res.php

@@ -107,6 +107,11 @@ class Res extends Backend
             $this->error(__('Parameter %s can not be empty', ''));
         }
         $params = $this->preExcludeFields($params);
+        if ($params['judge'] == '合格'){
+            $params['judge'] = '1';
+        }else{
+            $params['judge'] = '0';
+        }
         $result = false;
         Db::startTrans();
         try {