merge(main): 同步主站最新 UI 与审核优化代码并保持分销多租户隔离

This commit is contained in:
yml2213
2026-09-07 17:37:31 +08:00
51 changed files with 11152 additions and 4950 deletions
@@ -332,3 +332,19 @@ export async function rejectListing(id: number, reason: string) {
})
return data.data
}
export interface AdminListingScreenshotsPayload {
screenshot_urls: string[]
screenshot_groups?: Record<string, unknown>
}
export async function adminUpdateListingScreenshots(
id: number,
payload: AdminListingScreenshotsPayload
) {
const { data } = await apiClient.put<ApiResponse<Listing>>(
`/admin/listings/${id}/screenshots`,
payload
)
return data.data
}