Selaa lähdekoodia

修改请求方式

695593266@qq.com 2 päivää sitten
vanhempi
commit
89574ec02d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) {
-  const res = await request.get(`/main/category/checkExist`, { params });
+  const res = await request.post(`/main/category/checkExist`, params);
   if (res.data.code == 0) {
     return res.data.data;
   }