You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

58 lines
1.1 KiB

import request from "@/utils/request";
// 获取数知鸟ticketToken
export function getTicketToken(params) {
return request({
url: "/v1/user/ticket/token/",
method: "get",
params
})
}
// 获取用户资料(转发通行证v2接口)
export function getUserInfo() {
return request({
url: "/v1/user/info/",
method: "get"
})
}
// 获取用户的f豆,f币,信用积分
export function getCredit() {
return request({
url: "/v1/user/credit/",
method: "get"
})
}
// 获取获取通知数量
export function getNotice() {
return request({
url: "/v1/user/notice/getNoticeNum/",
method: "get"
})
}
// 头像下拉
export function avatarMenu() {
return request({
url: "/v1/user/menu/avatarMenu/",
method: "get"
})
}
// 收藏
export function addCollection(params) {
return request({
url: "/v1/user/Collection/addCollection",
method: "get",
params
})
}
// 是否收藏
export function isCollection(params) {
return request({
url: "/v1/user/Collection/isCollection",
method: "get",
params
})
}