mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
课程评论回复
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user