import { requestClient } from '#/api/request';

export namespace CommonApi {
  /** 必应壁纸信息 */
  export interface BingWallpaper {
    url?: string;
    copyright?: string;
    [key: string]: any;
  }
}

/**
 * 获取必应每日壁纸
 * GET /api/admin/common/getBingWallpaper
 */
export async function getBingWallpaperApi() {
  return requestClient.get<CommonApi.BingWallpaper>('/api/admin/common/getBingWallpaper');
}

