This commit is contained in:
PQZ 2025-04-03 16:48:48 +08:00
parent f8a6995d96
commit 936a671887
2 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,16 @@
import upload from '@/utils/upload'
import request from '@/utils/request'
//------------------博主、通告主-----------------------
//查询博主详情
export function bloggerDetail(userId) {
return request({
url: '/member/member/bloggerDetail/' + userId,
method: 'get'
})
}
//------------------名片-----------------------
// 查询当前登录用户的名片
export function getUserBusiCard() {

View File

@ -137,9 +137,7 @@
import {
getJSONData
} from '@/utils/auth.js'
import {
bloggerDetail
} from '@/api/member/member.js'
import {bloggerDetail} from '@/api/business/member.js'
export default {
components: {
tabBarVue,
@ -152,7 +150,7 @@
}
},
onLoad() {
nowUserType = getUserType()
this.nowUserType = getUserType()
},
mounted() {
if (null != getJSONData(constant.userInfo)) {