diff --git a/app/command/SyncStoreBasicData.php b/app/command/SyncStoreBasicData.php index 35079656..a7457d0d 100644 --- a/app/command/SyncStoreBasicData.php +++ b/app/command/SyncStoreBasicData.php @@ -86,7 +86,7 @@ class SyncStoreBasicData extends Command if ($isSyncBannerData) { $this->syncBannerData($store); } - //Store::where('store_id', $store['store_id'])->update(['is_sync' => 1]); + Store::where('store_id', $store['store_id'])->update(['is_sync' => 1]); } diff --git a/app/common/model/sharp/Goods.php b/app/common/model/sharp/Goods.php index aa5a8579..a58523f2 100644 --- a/app/common/model/sharp/Goods.php +++ b/app/common/model/sharp/Goods.php @@ -111,7 +111,8 @@ class Goods extends BaseModel // 商品图片 $item['goods_image'] = !empty($item['goods']['goods_image']) ? $item['goods']['goods_image'] : ''; // 秒杀商品原价 (获取主商品价格) - $item['original_price'] = !empty($item['goods']['original_price']) ? $item['goods']['original_price']: $item['goods']['goods_price_min']; + //$item['original_price'] = !empty($item['goods']['original_price']) ? $item['goods']['original_price']: $item['goods']['goods_price_min']; + $item['original_price'] = !empty($item['goods']['original_price']) ?? $item['goods']['goods_price_min']; // 回调函数 is_callable($callback) && call_user_func($callback, $item); } diff --git a/app/common/model/store/Setting.php b/app/common/model/store/Setting.php index 82c353cc..3e0fb23b 100644 --- a/app/common/model/store/Setting.php +++ b/app/common/model/store/Setting.php @@ -380,7 +380,7 @@ class Setting extends BaseModel 'auto' => [ 'category' => 0, // 商品分类 0为全部 'goodsSort' => 'all', // 商品排序 (all默认 sales销量 price价格) - 'showNum' => 15 // 显示数量 + 'showNum' => 50 // 显示数量 ], 'goodsIds' => [] // 手动选择的商品ID集 ], diff --git a/app/store/controller/Goods.php b/app/store/controller/Goods.php index fa4c09bc..3bb3a95d 100644 --- a/app/store/controller/Goods.php +++ b/app/store/controller/Goods.php @@ -177,7 +177,7 @@ class Goods extends Controller ['goods_id'=>'系统编码(禁止修改)'], ['goods_name'=>'标题'], ['cmmdty_model'=>'商品型号'], - ['goods_source'=>'商品来源(JD:京东 SN:苏宁 GC:工厂 CC:仓储 ZC:自采 填其中一项)'], + ['goods_source'=>'商品来源(GC:工厂 CC:仓储 ZC:自采 填其中一项)'], ['goods_no'=>'商品编码(电商平台同款编码)'], ['category_id'=>'分类(填写1级到现有分类代码,中间用英文小写的逗号分开)'], ['delivery_time'=>'发货时效(0:24小时 1:48小时 3:72小时 4:7天内 5:15天内 6:30天内 7:45天内 填写其中一项)'],