| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- import request from '@/utils/request'
- const BASE = '/setting/appSplashAd/v1'
- export interface AppSplashAdQueryVO {
- pageNo?: number
- pageSize?: number
- platform?: string
- status?: number
- }
- export interface AppSplashAdSaveDTO {
- id?: string
- platform: string
- mediaType: number
- mediaUrl: string
- posterUrl?: string
- title?: string
- subtitle?: string
- linkUrl?: string
- durationSec: number
- skippable: number
- displayBegin?: string
- displayEnd?: string
- sortOrder?: number
- status?: number
- }
- export function getAppSplashAdInfo(id: string) {
- return request.get(`${BASE}/info`, { params: { id } })
- }
- export function getAppSplashAdList(data: AppSplashAdQueryVO) {
- return request.post(`${BASE}/list`, data)
- }
- export function saveAppSplashAd(data: AppSplashAdSaveDTO) {
- return request.post(`${BASE}/save`, data)
- }
- export function deleteAppSplashAd(ids: string) {
- return request.get(`${BASE}/delete`, { params: { ids } })
- }
|