email test
This commit is contained in:
@@ -1000,6 +1000,7 @@ function createPayStationToken(){
|
|||||||
"content-type: application/x-www-form-urlencoded",
|
"content-type: application/x-www-form-urlencoded",
|
||||||
"accept: *",
|
"accept: *",
|
||||||
"accept-encoding: gzip, deflate",
|
"accept-encoding: gzip, deflate",
|
||||||
|
'Host: api.paystation.co.nz',
|
||||||
],
|
],
|
||||||
CURLOPT_POSTFIELDS => http_build_query($bodyParams)
|
CURLOPT_POSTFIELDS => http_build_query($bodyParams)
|
||||||
];
|
];
|
||||||
@@ -1022,6 +1023,9 @@ function createPayStationToken(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function postPayStationQuery($endpoint, $token, $body){
|
function postPayStationQuery($endpoint, $token, $body){
|
||||||
$curlHandle = curl_init(Env::get("paystation.api_url") . '/' . $endpoint);
|
$curlHandle = curl_init(Env::get("paystation.api_url") . '/' . $endpoint);
|
||||||
$options = [
|
$options = [
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
return [
|
return [
|
||||||
// 'connector' => 'Sync'
|
// 'connector' => 'Sync'
|
||||||
'connector' => 'Redis', // Redis 驱动
|
'connector' => 'Redis', // Redis 驱动
|
||||||
'expire' => 60, // 任务的过期时间,默认为60秒; 若要禁用,则设置为 null
|
'expire' => null, // 任务的过期时间,默认为60秒; 若要禁用,则设置为 null
|
||||||
'default' => 'mail', // 默认的队列名称
|
'default' => 'mail', // 默认的队列名称
|
||||||
'host' => '127.0.0.1', // redis 主机ip
|
'host' => '127.0.0.1', // redis 主机ip
|
||||||
'port' => 6379, // redis 端口
|
'port' => 6379, // redis 端口
|
||||||
|
|||||||
Reference in New Issue
Block a user