|
@@ -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);
|
|
|
}
|
|
|
|
|
|
}
|