课程评论回复

This commit is contained in:
zhaofang
2022-09-23 19:01:44 +08:00
parent 14a5ec636e
commit c4bd52783d
8 changed files with 314 additions and 132 deletions

View File

@@ -238,3 +238,28 @@ export function testType(type) { //此方法移到tools中
}
return text;
}
// u币key
const uTypeMaps = {
'PublishArticle': '发表文章',
'ViewArticle': '阅读文章',
'StudyCourse': '学习课程',
'PublishCourse': '发布课程',
'PulishQuestion': '发布问题',
'ReadQuestion': '阅读问题',
'AnswerQuestion': '回答问题',
'PublishNote': '发布笔记',
'PublishComment': '发表评论',
'ReplyComment': '回复评论',
'Praise': '点赞',
'ScoreCourse':'课程评分',
'Feedback':'意见反馈',
'VideoStudyDayStat':'试听学习时长',
'ViewCase':'阅读案例',
'ViewArticle':'阅读文章',
'DeleteQuestion':'删除问题',
'other':'其他'
};
export function getUType(type) {
let name = uTypeMaps[type];
return name;
}