fix: add xueqiu snb guid (#4371)
This commit is contained in:
parent
69d6e08a84
commit
5301be5d9a
|
|
@ -23,12 +23,14 @@ module.exports = async (ctx) => {
|
|||
const prev_weight_adjusted = some_detail.prev_weight_adjusted ? some_detail.prev_weight_adjusted : 0;
|
||||
description += some_detail.stock_name + ' from ' + prev_weight_adjusted + ' to ' + some_detail.target_weight + ',\n';
|
||||
}
|
||||
const time = obj.sell_rebalancing.updated_at;
|
||||
|
||||
const single = {
|
||||
title,
|
||||
description,
|
||||
pubDate: new Date().toUTCString(),
|
||||
pubDate: new Date(time).toUTCString(),
|
||||
link: url,
|
||||
guid: `xueqiu::snb::${id}::${time}`,
|
||||
};
|
||||
|
||||
ctx.state.data = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue