WIN-2308041133\Administrator 1 년 전
부모
커밋
3e82d1352c
1개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  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());
     }
 
 }