WIN-2308041133\Administrator 1 年之前
父節點
當前提交
99472b87ce
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      application/api/controller/Wechat.php

+ 4 - 4
application/api/controller/Wechat.php

@@ -313,13 +313,13 @@ class Wechat extends Api
     public function signing_plan()
     {
         if ($this->cid<=0){
-            $a=WechatPlan::where('cid', 12)->select()->toArray();
+            $a=WechatPlan::where('cid', 12)->select();
         }else{
-            $a=WechatPlan::where('cid', $this->cid)->select()->toArray();
+            $a=WechatPlan::where('cid', $this->cid)->select();
         }
 
-        var_dump($a);
-        return $this->success('获取成功', WechatPlan::where('cid', 12)->select()->toArray());
+        var_dump($a);die();
+        return $this->success('获取成功', $a);
     }
 
 }