ipaylinks 增加批量手动查询

feature/trippest
lyt 8 years ago
parent 8e589c8c46
commit 99953e5477

@ -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);

Loading…
Cancel
Save