正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
| @@ -31,7 +31,8 @@ class SxBasement extends Frontend | @@ -31,7 +31,8 @@ class SxBasement extends Frontend | ||
| 31 | $stationList = Station::alias('a') | 31 | $stationList = Station::alias('a') |
| 32 | ->field('a.id,a.station_name,count(sa.id) as appoint_count') | 32 | ->field('a.id,a.station_name,count(sa.id) as appoint_count') |
| 33 | ->join('fa_station_appointment sa','a.id = sa.station_id','LEFT') | 33 | ->join('fa_station_appointment sa','a.id = sa.station_id','LEFT') |
| 34 | - ->where(['a.school_id'=>$this->auth->school_id]) | 34 | +// ->where(['a.school_id'=>$this->auth->school_id]) |
| 35 | + ->where(['a.school_id'=>$this->school_id]) | ||
| 35 | ->group('a.id') | 36 | ->group('a.id') |
| 36 | ->select(); | 37 | ->select(); |
| 37 | //入驻公司 | 38 | //入驻公司 |
| @@ -67,7 +68,8 @@ class SxBasement extends Frontend | @@ -67,7 +68,8 @@ class SxBasement extends Frontend | ||
| 67 | { | 68 | { |
| 68 | $userInfo = $this->auth->getUser(); | 69 | $userInfo = $this->auth->getUser(); |
| 69 | if(!$userInfo) { | 70 | if(!$userInfo) { |
| 70 | - $this->success('请登入','/index/student_login/index'); | 71 | + $this->success('请登录后再操作','/index/student_login/index'); |
| 72 | +// $this->success('请登入','/index/student_login/index'); | ||
| 71 | } | 73 | } |
| 72 | $params = $this->request->post(); | 74 | $params = $this->request->post(); |
| 73 | if(!isset($params['station_id']) || empty($params['station_id'])){ | 75 | if(!isset($params['station_id']) || empty($params['station_id'])){ |
-
请 注册 或 登录 后发表评论