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

View File

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