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

合并分支 'wangxiaogang' 到 'master'

Wangxiaogang



查看合并请求 !91
@@ -75,7 +75,9 @@ class OrderSalesmanController extends WeChatBaseController @@ -75,7 +75,9 @@ class OrderSalesmanController extends WeChatBaseController
75 $where['school'] = ['eq',$param['school']]; 75 $where['school'] = ['eq',$param['school']];
76 } 76 }
77 if(!empty($param['grade'])){ 77 if(!empty($param['grade'])){
78 - $where['grade'] = ['eq',$param['grade']]; 78 + $param['grade'] = explode('—',$param['grade']);
  79 + $where['grade'] = ['eq',$param['grade'][0]];
  80 + $where['class'] = ['eq',$param['grade'][1]];
79 } 81 }
80 if(!empty($param['state'])){ 82 if(!empty($param['state'])){
81 $where['state'] = ['eq',$param['state']]; 83 $where['state'] = ['eq',$param['state']];
@@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController @@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController
204 */ 204 */
205 public function checkWeChatUserLogin() 205 public function checkWeChatUserLogin()
206 { 206 {
207 -// $user = Db::name('user')->where('id',4)->find(); 207 +// $user = Db::name('user')->where('id',5)->find();
208 // cmf_update_current_user($user); 208 // cmf_update_current_user($user);
209 $userId = cmf_get_current_user_id(); 209 $userId = cmf_get_current_user_id();
210 if (empty($userId)) { 210 if (empty($userId)) {