|
|
|
@ -257,6 +257,18 @@ class IPayLinksService extends CI_Controller
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function query_pay($orderid)
|
|
|
|
|
{
|
|
|
|
|
$this->query_info_arr["queryOrderId"] = $this->create_guid();
|
|
|
|
|
$this->query_info_arr["orderId"] = $orderid;
|
|
|
|
|
$this->query_info_arr["mode"] = 2;
|
|
|
|
|
|
|
|
|
|
$this->query_info_arr["signMsg"] = $this->generate_sign($this->query_info_arr);
|
|
|
|
|
$resp = $this->curl($this->queryUrl,$this->query_info_arr);
|
|
|
|
|
echo $resp;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* 订单业务处理
|
|
|
|
|
* * 查询写入交易记录 iPayLinks_log
|
|
|
|
@ -332,7 +344,7 @@ class IPayLinksService extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//只处理完成状态,其他状态由陆燕处理
|
|
|
|
|
if (strcmp(trim($item->IPL_stateCode), "2")) {
|
|
|
|
|
if (strcmp(trim($item->IPL_resultCode), "0000")) {
|
|
|
|
|
$this->Note_model->update_send($item->IPL_dealId, 'sendfail');
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|