修改本地生活商品无法编辑的问题

This commit is contained in:
wangxiaowei 2024-08-24 15:04:53 +08:00
parent f9dfd646c8
commit b6efddfc06

@ -71,6 +71,7 @@ class LocalStoreGoodsLogic extends Logic
'create_time' => time(),
]);
} else if ($form['type'] === 'edit') {
dump($form);die;
LocalStoreGoods::where(['id' => $form['id']])->update([
'title' => $form['title'],
'price' => $form['price'],