rabin 3 năm trước cách đây
mục cha
commit
0768475931
1 tập tin đã thay đổi với 8 bổ sung3 xóa
  1. 8 3
      service/agent/lib/Tool.php

+ 8 - 3
service/agent/lib/Tool.php

@@ -1015,15 +1015,20 @@ class Tool
     public function kou_yeji_huifu_api()
     {
         Dever::config('base')->hook = true;
-
-        $where['state'] = 1;
+        $test = Dever::input('test');
+        if ($test == 1) {
+            
+        } else {
+            $where['state'] = 1;
+        }
+        
         $where['stype'] = 5;
         $id = Dever::input('id');
         if ($id) {
             $where['id'] = $id;
         }
         $data = Dever::db('bill/sell')->all($where);
-        $test = Dever::input('test');
+        
         if ($test == 1) {
             print_r($data);die;
         }