作者 郭文星

'213'

@@ -218,6 +218,7 @@ class Wechat extends Api @@ -218,6 +218,7 @@ class Wechat extends Api
218 */ 218 */
219 public function prepare_order($order_no = ''){ 219 public function prepare_order($order_no = ''){
220 $user_id = $this->auth->id; 220 $user_id = $this->auth->id;
  221 + print_r([$this->auth->id,$this->auth->getUser()]);return;
221 if(empty($user_id)){ 222 if(empty($user_id)){
222 return $this->error('用户信息错误'); 223 return $this->error('用户信息错误');
223 } 224 }