Commit 0f9ae83d by 杨树贤

debug

parent fb143b6a
Showing with 1 additions and 1 deletions
......@@ -789,7 +789,6 @@ class DataService
$redis = new RedisModel();
$i = 0;
foreach ($suppliers as $key => $supplier) {
$i++;
//检测cp_time是否为空
$ruler = $redis->hget('supplier_sku_upload_ruler_v2', $supplier['supplier_id']);
if (empty($ruler)) {
......@@ -799,6 +798,7 @@ class DataService
'upload_validity_period' => $cpTimeDay,
'upload_futures_goods_validity_period' => $futuresCpTimeDay,
];
$i++;
if ($isUpdate) {
$redis->hset('supplier_sku_upload_ruler_v2', $supplier['supplier_id'], json_encode($data));
}
......
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 sign in to comment