作者 chencheng

6

... ... @@ -288,7 +288,7 @@ class Wechat extends Api
public function prepare_order($order_no = ''){
$user = $this->auth->getUserinfo();
$user_id = $this->auth->id;
print_r($user);return;
print_r(json_encode($user));return;
if(empty($user)){
return $this->error('预下单的用户信息错误');
}
... ...