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 | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/api/omd/btmType.js b/Source/UBCS-WEB/src/api/omd/btmType.js index 11938d0..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 }) @@ -68,4 +68,15 @@ ...params } }) -} \ No newline at end of file +} + +//榛樿璇锋眰 +export const defaultRequestHandler =(defaultAttrType) => { + return request({ + url:'/api/ubcs-omd/btm-type/getDefaultAttr', + method:'get', + params:{ + defaultAttrType + } + }) +} -- Gitblit v1.9.3