fix(route): 修复 米游社 公告栏 template 错误 (#13217)
This commit is contained in:
parent
5dc8d67a40
commit
6f3c9a2dbb
|
|
@ -19,7 +19,7 @@ const TYPE_MAP = {
|
|||
3: '资讯',
|
||||
};
|
||||
|
||||
const renderDescription = (description, images) => art(path.join(__dirname, 'templates/description.art'), { description, images });
|
||||
const renderDescription = (description, images) => art(path.join(__dirname, '../templates/description.art'), { description, images });
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const { gids, type = '2', page_size = '20', last_id = '' } = ctx.params;
|
||||
|
|
|
|||
Loading…
Reference in New Issue