Commit b8bb8953 authored by luhongguang's avatar luhongguang

update:商品内容中记录的user_id改为public_user_id

parent 869ef725
......@@ -124,7 +124,7 @@ class GoodsService
"goods_spu_id" => $spuId,
"shop_id" => $shopId,
"life_account_id" => $spuData["life_account_id"],
"user_id" => $spuData["user_id"],
"public_user_id" => $spuData["user_id"],
"name" => $spuData["name"],
"url" => $spuData["url"],
"desc" => $spuData["desc"],
......@@ -180,7 +180,7 @@ class GoodsService
"goods_spu_id" => $spuData["goods_spu_id"],
"life_account_id" => $skuData["life_account_id"],
"shop_id" => $shopId,
"user_id" => $skuData["user_id"],
"public_user_id" => $skuData["user_id"],
"category_1_id" => $skuData["category_1_id"],
"category_2_id" => $skuData["category_2_id"],
"name" => $skuData["name"],
......@@ -777,7 +777,7 @@ class GoodsService
$where['ORDER'] = ["create_time" => "DESC"];
$list = GoodsSku::select(["goods_spu_id", "goods_sku_id", "name", "category_1_id", "category_2_id", "life_account_id",
"user_id", "update_time", "create_time", "status", "online_status"],
"public_user_id", "update_time", "create_time", "status", "online_status"],
$where);
if (!empty($list)) {
foreach ($list as $key => $item) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment