695593266@qq.com 2 дней назад
Родитель
Сommit
89574ec02d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/api/codeManagement/index.js

+ 1 - 1
src/api/codeManagement/index.js

@@ -52,7 +52,7 @@ export async function getCodeDetail(id) {
 }
 }
 
 
 export async function checkExist(params) {
 export async function checkExist(params) {
-  const res = await request.get(`/main/category/checkExist`, { params });
+  const res = await request.post(`/main/category/checkExist`, params);
   if (res.data.code == 0) {
   if (res.data.code == 0) {
     return res.data.data;
     return res.data.data;
   }
   }