Browse Source

模型增加三级分类批量添加

master
Lemon 5 years ago
parent
commit
9e718d4573
  1. 1
      app/Model/v3/Goods.php
  2. 1
      app/Service/v3/Implementations/GoodsService.php

1
app/Model/v3/Goods.php

@ -51,6 +51,7 @@ class Goods extends Model
'store_id',
'name',
'category_id',
'goods_category_id',
'goods_unit',
'price',
'original_price',

1
app/Service/v3/Implementations/GoodsService.php

@ -102,7 +102,6 @@ class GoodsService implements GoodsServiceInterface
public function update($params)
{
var_dump($params);
$goods = Goods::query()->withoutGlobalScope('normal')
->where(
[

Loading…
Cancel
Save