正在显示
2 个修改的文件
包含
1 行增加
和
3 行删除
@@ -37,8 +37,6 @@ class OrderSalesmanController extends WeChatBaseController | @@ -37,8 +37,6 @@ class OrderSalesmanController extends WeChatBaseController | ||
37 | $param = $this->request->param(); | 37 | $param = $this->request->param(); |
38 | if(!empty($param['is_courier'])){ | 38 | if(!empty($param['is_courier'])){ |
39 | $where['is_courier'] = ['eq',$param['is_courier']]; | 39 | $where['is_courier'] = ['eq',$param['is_courier']]; |
40 | - }else{ | ||
41 | - $where['is_courier'] = ['eq',1]; | ||
42 | } | 40 | } |
43 | $user_id = $this->user_id; | 41 | $user_id = $this->user_id; |
44 | $where['salesman_uid'] = ['eq',$user_id]; | 42 | $where['salesman_uid'] = ['eq',$user_id]; |
@@ -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',13)->find(); | 207 | + /*$user = Db::name('user')->where('id',6)->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)) { |
-
请 注册 或 登录 后发表评论