优惠券增加缓存
This commit is contained in:
@@ -4,11 +4,12 @@ namespace App\Models;
|
|||||||
|
|
||||||
use App\Models\Traits\BelongsToOutlet;
|
use App\Models\Traits\BelongsToOutlet;
|
||||||
use App\Models\Traits\BelongsToUser;
|
use App\Models\Traits\BelongsToUser;
|
||||||
|
use GeneaLabs\LaravelModelCaching\Traits\Cachable;
|
||||||
|
|
||||||
class Coupon extends Model
|
class Coupon extends Model
|
||||||
{
|
{
|
||||||
|
|
||||||
use BelongsToUser, BelongsToOutlet;
|
use BelongsToUser, BelongsToOutlet,Cachable;
|
||||||
|
|
||||||
protected $dates = [
|
protected $dates = [
|
||||||
'paid_at',
|
'paid_at',
|
||||||
|
|||||||
20
composer.lock
generated
20
composer.lock
generated
@@ -5802,17 +5802,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "xuanchen/unionpay",
|
"name": "xuanchen/unionpay",
|
||||||
"version": "3.3.7",
|
"version": "3.4.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/xuanchen120/unionpay.git",
|
"url": "https://github.com/xuanchen120/unionpay.git",
|
||||||
"reference": "4510eb9bb7dc02f5e6ffd5b3e6c423cddf8ae3bf"
|
"reference": "a2eabfc7786e9087a16bcf65f7a707a6967aa456"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/xuanchen120/unionpay/zipball/4510eb9bb7dc02f5e6ffd5b3e6c423cddf8ae3bf",
|
"url": "https://api.github.com/repos/xuanchen120/unionpay/zipball/a2eabfc7786e9087a16bcf65f7a707a6967aa456",
|
||||||
"reference": "4510eb9bb7dc02f5e6ffd5b3e6c423cddf8ae3bf",
|
"reference": "a2eabfc7786e9087a16bcf65f7a707a6967aa456",
|
||||||
"shasum": ""
|
"shasum": "",
|
||||||
|
"mirrors": [
|
||||||
|
{
|
||||||
|
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
||||||
|
"preferred": true
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"laravel/framework": "*",
|
"laravel/framework": "*",
|
||||||
@@ -5845,9 +5851,9 @@
|
|||||||
"description": "第三方银联对接",
|
"description": "第三方银联对接",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/xuanchen120/unionpay/issues",
|
"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": [
|
"packages-dev": [
|
||||||
|
|||||||
Reference in New Issue
Block a user