feat : spu
This commit is contained in:
@@ -17,6 +17,7 @@ use Hyperf\DbConnection\Model\Model;
|
||||
* @property int $kitchen_id
|
||||
* @property int $chef_id
|
||||
* @property int $caterer_id
|
||||
* @property int $image_id
|
||||
* @property string $title
|
||||
* @property string $sub_title
|
||||
* @property int $category_id
|
||||
@@ -85,7 +86,7 @@ class Spu extends Model
|
||||
->where('type',$type)
|
||||
->where('saleable',GoodCode::LISTING)
|
||||
->orderBy('sort')
|
||||
->select(['id','cycle_id','chef_id','title','title','sub_title','category_id','favorable'])
|
||||
->select(['id','cycle_id','chef_id','title','title','sub_title','category_id','favorable','image_id'])
|
||||
->get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user