From 8560c8517964e0ea2b5fb02811f4a43e1974d973 Mon Sep 17 00:00:00 2001 From: zhangzeli <123456> Date: 星期四, 06 一月 2022 09:58:59 +0800 Subject: [PATCH] 优化 --- src/api/open.js | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/api/open.js b/src/api/open.js index 0526a65..19a99c0 100644 --- a/src/api/open.js +++ b/src/api/open.js @@ -117,6 +117,11 @@ return getRequest('/user/getAll', params) } +// 鏌ヨ鍙告満淇℃伅 +export const getDriver = (params) => { + return getRequest('/user/findByType2', params) +} + // 鏌ヨ鐗囧尯淇℃伅 export const getArea = (params) => { return getRequest('/area/getByPage', params) @@ -201,3 +206,18 @@ export const getByDate = (params) => { return getRequest('/addOil/getByDate', params) } + +// 鏍规嵁杞﹁締鐕冩补璐圭敤缁翠慨璐圭敤 +export const getInfo = (params) => { + return getRequest('/car/getInfo', params) +} + +// 鏍规嵁杞﹁締鐕冩补璐圭敤缁翠慨璐圭敤 +export const getCarCount = (params) => { + return getRequest('/pcStatistic2/getCarCount', params) +} + +//娣诲姞鍔犳补璁板綍 +export const editSuggest = (params) => { + return postRequest('/suggest/insertOrUpdate', params) +} \ No newline at end of file -- Gitblit v1.9.1