Browse Source

改表名

master
Lemon 5 years ago
parent
commit
9c4080ac94
  1. 2
      app/Model/v3/Goods.php
  2. 2
      app/Model/v3/GoodsBanner.php
  3. 2
      app/Model/v3/Store.php

2
app/Model/v3/Goods.php

@ -38,7 +38,7 @@ class Goods extends Model
*
* @var string
*/
protected $table = 'lanzu_goods';
protected $table = 'lanzu_goods_new';
/**
* The attributes that are mass assignable.
*

2
app/Model/v3/GoodsBanner.php

@ -9,7 +9,7 @@ use Hyperf\Database\Model\SoftDeletes;
class GoodsBanner extends Model
{
use SoftDeletes;
protected $table = 'lanzu_goods_banners';
protected $table = 'lanzu_goods_banners_new';
protected $appends = [
'banner_url',

2
app/Model/v3/Store.php

@ -22,7 +22,7 @@ class Store extends Model
*
* @var string
*/
protected $table = 'lanzu_store';
protected $table = 'lanzu_store_new';
/**
* The attributes that are mass assignable.
*

Loading…
Cancel
Save