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/dist/src/api/system/passwordresultant.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/dist/src/api/system/passwordresultant.js b/Source/UBCS-WEB/dist/src/api/system/passwordresultant.js new file mode 100644 index 0000000..9b987ac --- /dev/null +++ b/Source/UBCS-WEB/dist/src/api/system/passwordresultant.js @@ -0,0 +1,59 @@ +//瀵嗙爜缁勫悎鏂瑰紡 +import request from '@/router/axios'; + +//鍒嗛〉 +export const getPage =(current, size, params)=>{ + return request({ + url:'/api/ubcs-system/combination/page', + method:'get', + params:{ + ...params, + current, + size, + } + }) +} +//鍗曟煡璇� +export const getOnesearch =(id)=>{ + return request({ + url:'/api/ubcs-system/combination/one', + method:'post', + params:{ + id + } + }) +} +// 鏂板 +export const getadd =(row)=>{ + return request({ + url:'/api/ubcs-system/combination/submit', + method:'post', + data:row + }) +} +// 淇敼 +export const getupdata =(row)=>{ + return request({ + url:'/api/ubcs-system/combination/submit', + method:'post', + data:row + }) +} +//鍒犻櫎 +export const getremove = (ids) => { + return request({ + url: '/api/ubcs-system/combination/remove', + method: 'post', + params: { + ids, + } + }) +} +//涓嬫媺鏁版嵁鍜ㄨ锛堝瘑鐮佺殑缁勫悎鏂瑰紡锛� +export const getpassword=()=>{ + return request({ + url:'/api/ubcs-system/combination/select', + method:'get', + }) +} + -- Gitblit v1.9.3