From 6ca4dcf73b6fd1ac42c77c75c8ce422a75b75a19 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 07 三月 2024 09:59:54 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/api/omd/btmType.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/api/omd/btmType.js b/Source/UBCS-WEB/src/api/omd/btmType.js index d0e827d..a082511 100644 --- a/Source/UBCS-WEB/src/api/omd/btmType.js +++ b/Source/UBCS-WEB/src/api/omd/btmType.js @@ -52,7 +52,7 @@ export const update = (btmType) => { return request({ - url: '/api/ubcs-omd/btm-type/submit/' + auto, + url: '/api/ubcs-omd/btm-type/submit/', method: 'post', data: btmType }) @@ -69,3 +69,14 @@ } }) } + +//榛樿璇锋眰 +export const defaultRequestHandler =(defaultAttrType) => { + return request({ + url:'/api/ubcs-omd/btm-type/getDefaultAttr', + method:'get', + params:{ + defaultAttrType + } + }) +} -- Gitblit v1.9.3