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

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

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