优惠券增加缓存

This commit is contained in:
2022-01-19 16:02:49 +08:00
parent f5a1dbc717
commit de87c20c06
2 changed files with 15 additions and 8 deletions

View File

@@ -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',

20
composer.lock generated
View File

@@ -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": [