作者 chencheng

123-cc

@@ -218,7 +218,7 @@ class Wechat extends Api @@ -218,7 +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 + $user_id = 2;
222 if(empty($user_id)){ 222 if(empty($user_id)){
223 return $this->error('用户信息错误'); 223 return $this->error('用户信息错误');
224 } 224 }