作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

个人中心接口设计

@@ -200,7 +200,7 @@ class IndexController extends RestBaseController @@ -200,7 +200,7 @@ class IndexController extends RestBaseController
200 } 200 }
201 Db::name('contact_order')->insert(['create_time' => time(), 'user_id' => $userId, 'post_id' => $param['id'], 'order_sn' => $order_sn, 'money' => $post['contact_price']]); 201 Db::name('contact_order')->insert(['create_time' => time(), 'user_id' => $userId, 'post_id' => $param['id'], 'order_sn' => $order_sn, 'money' => $post['contact_price']]);
202 $pay = new WeixinPay(); 202 $pay = new WeixinPay();
203 - $this->success('唤起支付', $pay->pay($openid, $order_sn, '获取联系方式', $post['contact_price']*100, url('app/portal/pay/notify'))); 203 + $this->success('唤起支付', $pay->pay($openid, $order_sn, '获取联系方式', $post['contact_price']*100, url('app/portal/pay/notify','','',true)));
204 } 204 }
205 205
206 /** 206 /**