feat: 更新商品分类数据逻辑
This commit is contained in:
parent
4c55881fa6
commit
3b5901c998
@ -58,7 +58,7 @@ class GoodsLogic extends BaseLogic
|
|||||||
'sort' => $params['sort'] ?? '',
|
'sort' => $params['sort'] ?? '',
|
||||||
'sys_labels' => $sys_labels,
|
'sys_labels' => $sys_labels,
|
||||||
]);
|
]);
|
||||||
|
Goodsclass::where('id', $params['class'])->inc('three')->update();
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return true;
|
return true;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user