diff --git a/src/api/lang/pendingOrder.js b/src/api/lang/pendingOrder.js index c9d9b35..a8fd50e 100644 --- a/src/api/lang/pendingOrder.js +++ b/src/api/lang/pendingOrder.js @@ -187,3 +187,16 @@ export function downloadPdf(url) { method: "GET" }); } + +/** + * @Descripttion 根据token获取用户信息 + * @param {*} token + * @return {*} + */ +export async function getUserInfo(token) { + return request({ + url: '/app/logincheck?token=' + token, + method: 'get', + baseURL: 'http://10.0.3.157:18030/yunguan-app' + }) +} \ No newline at end of file diff --git a/src/components/ration/otgCorrection/index.vue b/src/components/ration/otgCorrection/index.vue index 22eaf37..1c6eb95 100644 --- a/src/components/ration/otgCorrection/index.vue +++ b/src/components/ration/otgCorrection/index.vue @@ -7,54 +7,24 @@