fix:bug修改

This commit is contained in:
dzc committed 2026-07-30 20:20:38 +08:00
1 parent 0c92763537
commit 401c7c1dd6
5 files changed
+666 -94

No files matched your search

+31 -2
View File
@@ -5,13 +5,32 @@ export interface RecentVO {
id: number // 收件地址编号
memberId: number // 用户编号
coverPic: string // 主图
describe: string // 描述
coverVideo: string // 视频
description: string // 描述
issueLong: number // 发布-经度
issueLat: number // 发布-纬度
issueProvince: string // 发布-省
issueCity: string // 发布-市
issueDistrict: string // 发布-区
issueAddress: string // 发布-详细地址
visible: boolean // 是否展示
auditStatus: number // 审核状态:0-审核中,1-审核通过,2-审核不通过
auditSource?: 'THIRD_PARTY' | 'MANUAL' | 'HISTORY' // 审核来源
auditReason?: string // 审核原因
auditTime?: string // 审核时间
auditUserId?: number // 人工审核用户编号
createTime?: string // 创建时间
}
export interface RecentAuditReqVO {
id: number
auditStatus: 1 | 2
auditReason?: string
}
export interface RecentVisibleReqVO {
id: number
visible: boolean
}
// 朋友圈 API
@@ -36,6 +55,16 @@ export const RecentApi = {
return await request.put({ url: `/member/recent/update`, data })
},
// 人工审核朋友圈
auditRecent: async (data: RecentAuditReqVO) => {
return await request.put({ url: `/member/recent/audit`, data })
},
// 更新朋友圈展示状态
updateRecentVisible: async (data: RecentVisibleReqVO) => {
return await request.put({ url: `/member/recent/visible`, data })
},
// 删除朋友圈
deleteRecent: async (id: number) => {
return await request.delete({ url: `/member/recent/delete?id=` + id })
@@ -45,4 +74,4 @@ export const RecentApi = {
exportRecent: async (params) => {
return await request.download({ url: `/member/recent/export-excel`, params })
}
}
}