作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

提现失败问题

@@ -66,6 +66,7 @@ class SchoolController extends AdminBaseController{ @@ -66,6 +66,7 @@ class SchoolController extends AdminBaseController{
66 public function getArea(){ 66 public function getArea(){
67 $parent_id = $this->request->param('pid'); 67 $parent_id = $this->request->param('pid');
68 $where['name'] = ['like',"%$parent_id%"]; 68 $where['name'] = ['like',"%$parent_id%"];
  69 + $where['pid'] = ['eq',0];
69 $data = Db::name('area')->where($where)->select(); 70 $data = Db::name('area')->where($where)->select();
70 $this->success('SUCCESS','',$data); 71 $this->success('SUCCESS','',$data);
71 } 72 }