...
|
...
|
@@ -83,7 +83,7 @@ class OrderpageController extends WeChatBaseController{ |
|
|
$salesman = Db::name('my_user') -> where('id',$teacher['pid']) -> find();
|
|
|
}
|
|
|
//查询这个用户下添加的学校
|
|
|
$school = Db::name('school') -> where("uid",$uid) -> select() -> toArray();
|
|
|
$school = Db::name('school') -> where("uid",$salesman['uid']) -> select() -> toArray();
|
|
|
|
|
|
if(!empty($school)){
|
|
|
$grade_class = Db::name('grade_class') -> where("school_id",$school[0]['id']) -> select();
|
...
|
...
|
|