From de87c20c06c51ce5b03e25762b3f67f578d85f6d Mon Sep 17 00:00:00 2001 From: xuanchen <122383162@qq.com> Date: Wed, 19 Jan 2022 16:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Coupon.php | 3 ++- composer.lock | 20 +++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) 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": [