| 12345678910111213141516171819202122 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2019/3/20
- * Time: 11:12
- */
- namespace app\frontend\modules\coupon\models;
- class ShoppingShareCoupon extends \app\common\models\coupon\ShoppingShareCoupon
- {
- public static function boot()
- {
- parent::boot();
- static::addGlobalScope('uniacid', function ($builder) {
- $builder->uniacid();
- });
- }
- }
|