diff --git a/lib/v2/coolapk/utils.js b/lib/v2/coolapk/utils.js index 3aae4fedd..fd4e26133 100644 --- a/lib/v2/coolapk/utils.js +++ b/lib/v2/coolapk/utils.js @@ -6,8 +6,8 @@ const { parseDate } = require('@/utils/parse-date'); const dynamicTpye = { 0: '基本动态', 8: '酷图', 9: '评论', 10: '提问', 11: '回答', 12: '图文', 15: '二手', 17: '观点', 20: '交易动态' }; const getRandomDEVICE_ID = () => { - let id = [8, 4, 4, 4, 12]; - id = id.map((i) => Math.random().toString(36).substr(2, i)); + let id = [10, 6, 6, 6, 14]; + id = id.map((i) => Math.random().toString(36).substring(2, i)); return id.join('-'); }; @@ -68,6 +68,7 @@ const parseDynamic = async (item, ctx) => { switch (type) { case 0: case 5: + case 7: // external share case 8: case 9: case 10: