新增意见反馈、帮助中心

This commit is contained in:
gyq
2025-01-08 11:01:34 +08:00
parent 7b0fc90f8c
commit cef6f2be85
13 changed files with 752 additions and 59 deletions

View File

@@ -9,4 +9,67 @@ export const selectByUserId = (data) => {
data: data,
method: 'GET'
})
}
/**
* 获取客服微信
*/
export const commonType = (type) => {
return http.request({
url: `/common/type/${type}`,
method: 'GET'
})
}
/**
* 金币明细
*/
export const queryUserMoneyDetails = (data) => {
return http.request({
url: '/moneyDetails/queryUserMoneyDetails',
method: 'GET',
data: data
})
}
/**
* 意见反馈
*/
export const sendMessage = (data) => {
return http.request({
url: '/message/sendMessage',
method: 'POST',
data: data
})
}
/**
* 帮助中心
*/
export const selectHelpList = (data) => {
return http.request({
url: '/helpWord/selectHelpList',
method: 'GET',
data: data
})
}
/**
* 个人中心数据
*/
export const collectVideoSummary = () => {
return http.request({
url: '/courseCollect/collectVideoSummary',
method: 'GET'
})
}
/**
* 金币
*/
export const selectUserMoney = () => {
return http.request({
url: '/moneyDetails/selectUserMoney',
method: 'GET'
})
}