作者 chencheng

0531-5

... ... @@ -222,7 +222,6 @@ class Wechat extends Api
return $this->error('请求错误');
}
$my_user_id = $this->auth->id;
$my_user_id = 2;
if(empty($my_user_id)){return $this->error('用户信息错误');}
if(empty($param['store_id'])){return $this->error('门店信息错误');}
//记录门店浏览统计
... ... @@ -291,6 +290,8 @@ class Wechat extends Api
if(empty($order_no)){
return $this->error('预下单信息错误');
}
$my_user_id = $this->auth->id;
if(empty($my_user_id)){return $this->error('用户信息错误');}
$o_w["order_no"] = $order_no;
$order_info = Db::name('verification_order')->where($o_w)->find();
$user_id = $order_info['user_id'];
... ...