WIN-2308041133\Administrator 2 settimane fa
parent
commit
0f1a1c7687

+ 1 - 0
application/admin/model/WechatPlan.php

@@ -43,6 +43,7 @@ class WechatPlan extends Model
         $xwhere = null;
         $order = "id desc";
         if (isset($where['id']) && $where['id'] > 0) $xwhere['id'] = $where['id'];
+        if (isset($where['cid']) && $where['cid'] > 0) $xwhere['cid'] = $where['cid'];
         $data = $model->where($xwhere)->order($order)->select();
 //        $count = $model->where($xwhere)->count();
         return $data;

+ 1 - 0
application/api/controller/Lave.php

@@ -370,6 +370,7 @@ class Lave extends Api
                 ['cid', $this->cid],
             ], $request
         );
+        @file_put_contents("quanju.txt", $where['cid']."-cid是多少\r\n", 8);
         if (!$where['id']) $this->error('参数错误');
         $this->success('获取成功', WechatPlan::read($where));
     }