mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-24 20:57:21 +08:00
feat: 完善仪表盘公告区块内容
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
import axios from 'axios';
|
||||
import type { TableData } from '@arco-design/web-vue/es/table/interface';
|
||||
|
||||
const BASE_URL = '/dashboard';
|
||||
|
||||
export interface AnnouncementDashboardRecord {
|
||||
id: string;
|
||||
title: string;
|
||||
type: number;
|
||||
}
|
||||
|
||||
export function listAnnouncement() {
|
||||
return axios.get<AnnouncementDashboardRecord[]>(`${BASE_URL}/announcement`);
|
||||
}
|
||||
|
||||
export interface ContentDataRecord {
|
||||
x: string;
|
||||
y: number;
|
||||
|
Reference in New Issue
Block a user