From 912df10c968d01457d15bcfa0b10acc7d7d4b7aa Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期五, 27 九月 2024 08:56:02 +0800
Subject: [PATCH] 修改前端第一次启动是报uno.css的错误bug

---
 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