WIN-2308041133\Administrator 6 meses atrás
pai
commit
3e82d1352c
1 arquivos alterados com 8 adições e 8 exclusões
  1. 8 8
      application/api/controller/Wechat.php

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

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