需要开发 IM

This commit is contained in:
cbb
2025-12-30 17:52:19 +08:00
parent 8fe2079446
commit d0cf491201
23 changed files with 515 additions and 61 deletions

View File

@@ -95,3 +95,36 @@ export const getUserIntegralRank = data => {
data
})
}
/** 签到列表 */
export const getSignList = data => {
return http({
url: '/api/system/signRecord/list',
method: 'get',
data
})
}
/** 签到 */
export const signIn = () => {
return http({
url: '/api/system/signRecord',
method: 'post'
})
}
/** 根据id获取文章详细信息 */
export const getArticleDetail = id => {
return http({
url: `/api/service/articleContent/type/${id}`,
method: 'get'
})
}
/** 获取腾讯usersig */
export const getTencentUserSig = () => {
return http({
url: '/api/user/usersig',
method: 'get'
})
}

52
api/my-index.js Normal file
View File

@@ -0,0 +1,52 @@
import http from '@/utils/request'
/** 添加银行卡 */
export const addUserAddress = data => {
return http({
url: '/api/service/userCard',
method: 'post',
data
})
}
/** 修改银行卡 */
export const updateUserAddress = data => {
return http({
url: '/api/service/userCard',
method: 'put',
data
})
}
/** 获取用户银行卡列表 */
export const getUserAddress = data => {
return http({
url: '/api/service/userCard/list',
method: 'get',
data
})
}
/** 删除银行卡 */
export const deleteUserAddress = id => {
return http({
url: `/api/service/userCard/${id}`,
method: 'delete'
})
}
/** 获取用户银行卡详情 */
export const getUserAddressDetail = id => {
return http({
url: `/api/service/userCard/details/${id}`,
method: 'get'
})
}
/** 获取用户支付密码详细信息 */
export const getUserPayPwd = () => {
return http({
url: '/api/service/userPassword/details',
method: 'get'
})
}