- 在 goods API 中添加 userArtworks 函数- 更新 auth store,将 userInfo 默认值改为对象 - 优化 LiveRoom 页面布局,添加安全区域支持 - 修改 AppFooter 组件,修复路由判断逻辑 - 更新首页 Column 组件,调整图片显示样式 - 在 Profile 页面添加用户信息展示
30 lines
762 B
JavaScript
30 lines
762 B
JavaScript
import { getHttp } from '~/api/http.js'
|
|
|
|
export async function artworkList(data) {
|
|
const http = getHttp()
|
|
return await http('/api/v1/m/auction/default/artwork/list', {
|
|
method: 'POST',
|
|
body: data,
|
|
})
|
|
}
|
|
export async function defaultDetail(data) {
|
|
const http = getHttp()
|
|
return await http('/api/v1/m/auction/default/detail', {
|
|
method: 'POST',
|
|
body: data,
|
|
})
|
|
}
|
|
export async function artworkDetail(data) {
|
|
const http = getHttp()
|
|
return await http('/api/v1/m/artwork/detail', {
|
|
method: 'POST',
|
|
body: data,
|
|
})
|
|
}
|
|
export async function userArtworks(data) {
|
|
const http = getHttp()
|
|
return await http('/api/v1/m/user/artworks', {
|
|
method: 'POST',
|
|
body: data,
|
|
})
|
|
} |