|
|
|
@ -257,10 +257,12 @@ class IPayLinksService extends CI_Controller
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function query_pay($orderid)
|
|
|
|
|
public function query_pay($orderid,$day_offset = 3)
|
|
|
|
|
{
|
|
|
|
|
$this->query_info_arr["queryOrderId"] = $this->create_guid();
|
|
|
|
|
$this->query_info_arr["orderId"] = $orderid;
|
|
|
|
|
$this->query_info_arr["beginTime"] = date('YmdHis',strtotime("-$day_offset days"));
|
|
|
|
|
$this->query_info_arr["endTime"] = date('YmdHis',strtotime("+$day_offset days"));
|
|
|
|
|
$this->query_info_arr["mode"] = 2;
|
|
|
|
|
|
|
|
|
|
$this->query_info_arr["signMsg"] = $this->generate_sign($this->query_info_arr);
|
|
|
|
|