From aff5c9407599bd5f9ab6b239996d6cc7bac2c0d0 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 23 九月 2024 08:37:12 +0800 Subject: [PATCH] 模型平台图标 --- src/api/model/sche/scheme/index.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/model/sche/scheme/index.ts b/src/api/model/sche/scheme/index.ts index 819f346..3d3971f 100644 --- a/src/api/model/sche/scheme/index.ts +++ b/src/api/model/sche/scheme/index.ts @@ -1,6 +1,6 @@ import request from '@/config/axios' -export interface ScheduleScheme { +export interface ScheduleSchemeVO { id: string code: string name: string @@ -27,12 +27,12 @@ // 查询ScheduleScheme详情 export const getScheduleScheme = (id: number) => { - return request.get({ url: `/model/sche/scheme/info/${id}`}) + return request.get({ url: '/model/sche/scheme/get?id=' + id}) } // 新增ScheduleScheme export const createScheduleScheme = (data: ScheduleSchemeVO) => { - return request.post({ url: '/model/sche/scheme/add', data }) + return request.post({ url: '/model/sche/scheme/create', data }) } // 修改ScheduleScheme -- Gitblit v1.9.3