diff --git a/composer.json b/composer.json index 35736b0..01616e9 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "laravel/tinker": "^2.5", "predis/predis": "^1.1", "xuanchen/coupon": "^1.0", - "xuanchen/unionpay": "^2.6" + "xuanchen/unionpay": "^3.0.0" }, "require-dev": { "facade/ignition": "^2.5", diff --git a/composer.lock b/composer.lock index 7f15cc3..4db9a7d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d59f20a04d064b2ee3c8b8bb3a1abfc8", + "content-hash": "6a778bf2628b2c4247fb62ae14490866", "packages": [ { "name": "asm89/stack-cors", @@ -5802,16 +5802,16 @@ }, { "name": "xuanchen/unionpay", - "version": "2.9", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/xuanchen120/unionpay.git", - "reference": "985072f96993f3fc1d0c2e7fb8cfd5e457d65741" + "reference": "4e57ddd8244249b056771b048212104f5b68cc6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/xuanchen120/unionpay/zipball/985072f96993f3fc1d0c2e7fb8cfd5e457d65741", - "reference": "985072f96993f3fc1d0c2e7fb8cfd5e457d65741", + "url": "https://api.github.com/repos/xuanchen120/unionpay/zipball/4e57ddd8244249b056771b048212104f5b68cc6c", + "reference": "4e57ddd8244249b056771b048212104f5b68cc6c", "shasum": "", "mirrors": [ { @@ -5851,9 +5851,9 @@ "description": "第三方银联对接", "support": { "issues": "https://github.com/xuanchen120/unionpay/issues", - "source": "https://github.com/xuanchen120/unionpay/tree/2.9" + "source": "https://github.com/xuanchen120/unionpay/tree/3.0.0" }, - "time": "2021-02-18T09:50:47+00:00" + "time": "2021-02-22T02:35:51+00:00" } ], "packages-dev": [ diff --git a/config/unionpay.php b/config/unionpay.php index 0a68706..d2b0991 100644 --- a/config/unionpay.php +++ b/config/unionpay.php @@ -5,7 +5,7 @@ return [ //是否调试 'debug' => true, //环境变量 - 'this_type' => 'test', + 'this_type' => 'dev', //添加日志 'log' => true, //对账单信息