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 | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/api/template/templateAttr.js b/Source/UBCS-WEB/src/api/template/templateAttr.js index 3072d8e..2cd8284 100644 --- a/Source/UBCS-WEB/src/api/template/templateAttr.js +++ b/Source/UBCS-WEB/src/api/template/templateAttr.js @@ -192,3 +192,30 @@ } }) } + +//鍗囩増 +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