修改本地生活获取商品列表方式

This commit is contained in:
wangxiaowei 2024-08-22 15:34:54 +08:00
parent 168278e9c5
commit 41a42d1c44

@ -17,6 +17,11 @@ class LocalStoreGoods extends Api
$get['type'] = $get['type'] ?? 1;
$get['user_id'] = $this->user_id;
$result = LocalStoreGoodsLogic::lists($get);
if ($result) {
return JsonServer::success('获取成功', $result);
}
return JsonServer::error('获取失败');
}
// 商家添加商品