mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-14 14:43:43 +08:00
收款通知性能优化
This commit is contained in:
@@ -26,7 +26,7 @@ class MpayClass
|
||||
public function upRecords($records, $aid)
|
||||
{
|
||||
$header = ['Content-Type: application/json;charset=UTF-8'];
|
||||
$url = $this->submit_records_url . "/{$this->pid}/{$aid}/{$this->getSign()}";
|
||||
$url = $this->submit_records_url . "?pid={$this->pid}&aid={$aid}&sign={$this->getSign()}";
|
||||
$res = $this->getHttpResponse($url, $header, json_encode($records));
|
||||
return $res;
|
||||
}
|
||||
|
||||
@@ -95,10 +95,10 @@ class ShouQianBa
|
||||
{
|
||||
$new_query = $query;
|
||||
$now = $this->now;
|
||||
$begin_time = (int)(($now - 175) . mt_rand(100, 999));
|
||||
$end_time = (int)($now . mt_rand(100, 999));
|
||||
$query['date_start'] = $begin_time;
|
||||
$query['date_end'] = $end_time;
|
||||
$begin_time = (int)(($now - 175) . 000);
|
||||
$end_time = (int)($now . 999);
|
||||
$new_query['date_start'] = $begin_time;
|
||||
$new_query['date_end'] = $end_time;
|
||||
return $new_query;
|
||||
}
|
||||
// 登陆账号
|
||||
|
||||
Reference in New Issue
Block a user