fix(route): coolapk external share (#11651)
This commit is contained in:
parent
95dba06d1d
commit
a3bd12171f
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue