bazzly/ payoffice
Laravel 包,用于使用所有金融科技支付API和获取ping服务器
v0.1.0-alpha
2023-09-29 10:09 UTC
Requires (Dev)
- orchestra/testbench: ^7.15
This package is auto-updated.
Last update: 2024-09-06 07:53:23 UTC
README
一站式支付系统
本包旨在解决一个问题
API URL可能无法访问,这意味着网站上的支付将无法进行
此包允许用户或管理员ping并查看
每个金融科技API URL的状态,在将其用作首选支付选项之前
。
默认预设ping为10ms,当用户遇到大量支付时,可以决定将其增加
companyName,
APIUrl
首选ping
$data = new PingServer(string $name, string $url, int $preferSeverPing = null);
输出结果数据
'companyName'
'APIUrl'
'serverStatus'
'serverPing'
'userPing'