yingzi 2 年之前
父節點
當前提交
2b0311b4d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/model/api/InfoAudit.php

+ 1 - 1
app/model/api/InfoAudit.php

@@ -22,7 +22,7 @@ class InfoAudit extends Model
      * @param type $type
      */
     public function getItem($post,$is_admin=0){
-        if(empty($parms)){
+        if(empty($post)){
             return [];
         }
         $where=[];