Commit 97315857 by 杨树贤

修复bug

parent f5e8ea42
......@@ -320,6 +320,7 @@ class SupplierService
$preChannelUid = $supplier['channel_uid'];
$preChannelUid = explode(',', $preChannelUid);
$preChannelUid[] = $channelUid;
$preChannelUid = array_unique($preChannelUid);
$preChannelUid = implode(',', $preChannelUid);
$result = $model->where('supplier_id', $supplierId)->update([
'update_time' => time(),
......
......@@ -33,7 +33,7 @@ class IntracodeModel extends Model
}
}
$redis->set('EncodedList_supplier_' . $includeResigned, json_encode($codeList));
$redis->expire('EncodedList_supplier_' . $includeResigned, 30);//缓存10分钟
$redis->expire('EncodedList_supplier_' . $includeResigned, 1);//缓存1s
}
}
return $codeList;
......
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