From 0fe07c82aaf1d81511e524647cf2bc473b5ec298 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 25 十月 2023 17:37:27 +0800 Subject: [PATCH] Merge branch 'zhengwenfeng/modify-style' into dev --- src/api/common/standard.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index f46e844..57f78df 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,5 +1,5 @@ -// import request from "@/common/untils/request.js" import axios from "axios" +import request from "@/common/untils/request.js" //缂栫爜瑙勮寖鍒楄〃 // export function getCodeStandardList (data) { // return request({ @@ -9,7 +9,21 @@ // }); // } export function getCodeStandardList(data) { - return axios.get(`/api/code/getCodeList`, { + // return axios.get(`/api/code/getCodeList`, { + // params: data + // }) + + return request({ + url: "/api/code/getCodeList", + method: "get", params: data }) } +// 鑾峰彇鑷姩缂栫爜 +export function getAutoCode(data) { + return request({ + url: "/api/code/getAutoCode", + method: "post", + data + }) +} -- Gitblit v1.8.0