正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论