兼容修改
This commit is contained in:
parent
c37b119bfe
commit
bd97e58274
|
|
@ -26,14 +26,14 @@ class WuYouPayUtils
|
|||
}
|
||||
$booted = true;
|
||||
|
||||
self::$mchId = '100360';
|
||||
self::$payUrl = 'http://47.113.117.120/api/order';
|
||||
self::$notifyUrl = 'https://ph.hnsiyao.cn/api/wuyou/notify';
|
||||
self::$h5BaseUrl = 'https://ph.hnsiyao.cn/api/wuyou/notify';
|
||||
self::$secret = '3MWSBmyKDeQDLXzoLr53tKVqiJv4Fm0KdsEhbpXW9YWvh35VgozL5S3rpUz4EjSb';
|
||||
self::$extractUrl = 'http://47.113.117.120/api/salary';
|
||||
self::$extractNotifyUrl = 'http://47.113.117.120/api/salary';
|
||||
self::$queryUrl = 'http://47.113.117.120/api/queryOrder';
|
||||
self::$mchId = config('wuyou.merchant_id', '');
|
||||
self::$payUrl = config('wuyou.url', '');
|
||||
self::$notifyUrl = config('wuyou.notify_url', '');
|
||||
self::$h5BaseUrl = config('wuyou.h5_base_url', '');
|
||||
self::$secret = config('wuyou.secret', '');
|
||||
self::$extractUrl = config('wuyou.extract_url', '');
|
||||
self::$extractNotifyUrl = config('wuyou.extract_notify_url', '');
|
||||
self::$queryUrl = config('wuyou.query_url', '');
|
||||
|
||||
if (hasEmpty(self::$mchId, self::$payUrl, self::$notifyUrl, self::$h5BaseUrl, self::$secret)) {
|
||||
throw new SysException('缺少必要参数');
|
||||
|
|
|
|||
Loading…
Reference in New Issue