...
|
...
|
@@ -532,9 +532,8 @@ class OrderController extends HomeBaseController{ |
|
|
*/
|
|
|
public function pay($order_no){
|
|
|
$order=Db::name('order')->where(['order_no'=>$order_no,'state'=>2])->find();
|
|
|
|
|
|
$openId=Db::name('users')->where('id',$order['users_id'])->find()['open_id'];
|
|
|
dump($openId);
|
|
|
|
|
|
$body='支付';
|
|
|
$price=$order['price']*100;//订单价格
|
|
|
$notify_url=url('order/notify','','',true);//回调地址
|
...
|
...
|
|