From 6735472129b9814ca45c5756c6c720cf24d17948 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 06 十一月 2024 14:10:35 +0800 Subject: [PATCH] 将摄像头模块名dev修改为video --- 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