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

提现失败问题

... ... @@ -58,10 +58,11 @@ class SchoolController extends AdminBaseController{
$this -> assign('data',$data);
$this -> assign('grade_class_str',$grade_class_str);
$this -> assign('grade_id_str',$grade_id_str);
$area = explode(' ',$data['region']);
$province = Db::name('area')->where(['level'=>1])->select();
$data_city = Db::name('area')->where(['level'=>2,'name'=>$data['work_city']])->find();
$data_city = Db::name('area')->where(['level'=>2,'name'=>$area[1]])->find();
$city = Db::name('area')->where(['pid'=>$data_city['pid'],'level'=>2])->select();
$data_county = Db::name('area')->where(['level'=>3,'name'=>$data['work_county']])->find();
$data_county = Db::name('area')->where(['level'=>3,'name'=>$area[2]])->find();
$county = Db::name('area')->where(['level'=>3,'pid'=>$data_county['pid']])->select();
$this->assign('province',$province);
$this->assign('city',$city);
... ...