...
|
...
|
@@ -200,7 +200,7 @@ class IndexController extends RestBaseController |
|
|
}
|
|
|
Db::name('contact_order')->insert(['create_time' => time(), 'user_id' => $userId, 'post_id' => $param['id'], 'order_sn' => $order_sn, 'money' => $post['contact_price']]);
|
|
|
$pay = new WeixinPay();
|
|
|
$this->success('唤起支付', $pay->pay($openid, $order_sn, '获取联系方式', $post['contact_price']*100, url('portal/pay/notify','','',true)));
|
|
|
$this->success('唤起支付', $pay->pay($openid, $order_sn, '获取联系方式', $post['contact_price']*100, cmf_api_url('portal/pay/notify','','',true)));
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -258,6 +258,6 @@ class IndexController extends RestBaseController |
|
|
'mobile' => $param['mobile']
|
|
|
]);
|
|
|
$pay = new WeixinPay();
|
|
|
$this->success('唤起支付', $pay->pay($openid, $order_sn, '下单支付', $param['last'] * $skill['price']*100, url('portal/pay/notify2','','',true)));
|
|
|
$this->success('唤起支付', $pay->pay($openid, $order_sn, '下单支付', $param['last'] * $skill['price']*100, cmf_api_url('portal/pay/notify2','','',true)));
|
|
|
}
|
|
|
} |
...
|
...
|
|