需要开发 IM
This commit is contained in:
33
api/index.js
33
api/index.js
@@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user