作者 chencheng

6

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