From dc590d026e1130a98c70181fb65f8ed09414e787 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期五, 14 七月 2023 17:48:11 +0800 Subject: [PATCH] 1、主要解决获取当前用户信息等问题,使用AuthUtil来进行获取,对生成token等信息进行了修改增加。 --- Source/UBCS-WEB/src/api/template/templateAttr.js | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/api/template/templateAttr.js b/Source/UBCS-WEB/src/api/template/templateAttr.js index 29dd2e5..2cd8284 100644 --- a/Source/UBCS-WEB/src/api/template/templateAttr.js +++ b/Source/UBCS-WEB/src/api/template/templateAttr.js @@ -182,13 +182,40 @@ } }) } -//鏃堕棿鏍煎紡涓嬫媺鑿滃崟 +//鍙緭鍙�変笅鎷夎彍鍗� export const listByFlag = (params) =>{ return request({ - url:'/api/ubcs-code/bdSelectInputController/listByFlag', + url:'/api/ubcs-system/dict-biz/listByFlag', method: 'get', params:{ ...params } }) } + +//鍗囩増 +export const upVersion = (data) =>{ + return request({ + url:'/api/ubcs-code/codeClassifyTemplateController/upgrade', + method: 'post', + data + }) +} +//鍋滅敤澶辨晥 +export const stopLose = (data) =>{ + return request({ + url:'/api/ubcs-code/codeClassifyTemplateController/disableData', + method: 'post', + data + }) +} +// 鍚敤鍙戠増 +export const startRelease = (data) =>{ + return request({ + url:'/api/ubcs-code/codeClassifyTemplateController/enableData', + method: 'post', + data + }) +} + + -- Gitblit v1.9.3