作者 anyv
1 个管道 的构建 通过 耗费 11 秒

1

... ... @@ -37,8 +37,6 @@ class OrderSalesmanController extends WeChatBaseController
$param = $this->request->param();
if(!empty($param['is_courier'])){
$where['is_courier'] = ['eq',$param['is_courier']];
}else{
$where['is_courier'] = ['eq',1];
}
$user_id = $this->user_id;
$where['salesman_uid'] = ['eq',$user_id];
... ...
... ... @@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController
*/
public function checkWeChatUserLogin()
{
/*$user = Db::name('user')->where('id',13)->find();
/*$user = Db::name('user')->where('id',6)->find();
cmf_update_current_user($user);*/
$userId = cmf_get_current_user_id();
if (empty($userId)) {
... ...