diff --git a/app/Models/Coupon.php b/app/Models/Coupon.php index d4493fe..9b5ee0a 100644 --- a/app/Models/Coupon.php +++ b/app/Models/Coupon.php @@ -4,11 +4,12 @@ namespace App\Models; use App\Models\Traits\BelongsToOutlet; use App\Models\Traits\BelongsToUser; +use GeneaLabs\LaravelModelCaching\Traits\Cachable; class Coupon extends Model { - use BelongsToUser, BelongsToOutlet; + use BelongsToUser, BelongsToOutlet,Cachable; protected $dates = [ 'paid_at', diff --git a/composer.lock b/composer.lock index 2cda51f..5a0c2fc 100644 --- a/composer.lock +++ b/composer.lock @@ -5802,17 +5802,23 @@ }, { "name": "xuanchen/unionpay", - "version": "3.3.7", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/xuanchen120/unionpay.git", - "reference": "4510eb9bb7dc02f5e6ffd5b3e6c423cddf8ae3bf" + "reference": "a2eabfc7786e9087a16bcf65f7a707a6967aa456" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/xuanchen120/unionpay/zipball/4510eb9bb7dc02f5e6ffd5b3e6c423cddf8ae3bf", - "reference": "4510eb9bb7dc02f5e6ffd5b3e6c423cddf8ae3bf", - "shasum": "" + "url": "https://api.github.com/repos/xuanchen120/unionpay/zipball/a2eabfc7786e9087a16bcf65f7a707a6967aa456", + "reference": "a2eabfc7786e9087a16bcf65f7a707a6967aa456", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] }, "require": { "laravel/framework": "*", @@ -5845,9 +5851,9 @@ "description": "第三方银联对接", "support": { "issues": "https://github.com/xuanchen120/unionpay/issues", - "source": "https://github.com/xuanchen120/unionpay/tree/3.3.7" + "source": "https://github.com/xuanchen120/unionpay/tree/3.4.0" }, - "time": "2021-07-29T02:25:13+00:00" + "time": "2021-08-31T07:47:43+00:00" } ], "packages-dev": [