|
|
|
@ -552,7 +552,10 @@ class IPayLinksService extends CI_Controller
|
|
|
|
|
$dealId = trim($asyns_resp->data->dealId) ;
|
|
|
|
|
$tmp_deal = $dealId ? $dealId : $this->create_guid();
|
|
|
|
|
bcscale(2);
|
|
|
|
|
$this->Note_model->save_ipl(
|
|
|
|
|
// 支付成功
|
|
|
|
|
// 查询支付结果;入库处理
|
|
|
|
|
if ( ! empty($dealId)) {
|
|
|
|
|
$this->Note_model->save_ipl(
|
|
|
|
|
strval($tmp_deal)
|
|
|
|
|
,strval($asyns_resp->data->orderId)
|
|
|
|
|
,strval($asyns_resp->data->currencyCode)
|
|
|
|
@ -566,8 +569,6 @@ class IPayLinksService extends CI_Controller
|
|
|
|
|
,strval($asyns_resp->data->resultCode)
|
|
|
|
|
,strval($asyns_resp->data->resultMsg)
|
|
|
|
|
);
|
|
|
|
|
// 查询支付结果;入库处理
|
|
|
|
|
if ( ! empty($dealId)) {
|
|
|
|
|
$query = $this->query_pay_result($asyns_resp->data);
|
|
|
|
|
}
|
|
|
|
|
// 返回状态码200
|
|
|
|
|