Browse Source

fix: 分类

Tim_Walker 1 year ago
parent
commit
c897aaa0fc
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/api/client/business.js

+ 1 - 4
src/api/client/business.js

@@ -48,10 +48,7 @@ export function getGoodsDetailApi(id) {
 export function maintainCategories(id) {
   return request({
     url: `/maintain/categories`,
-    method: 'GET',
-    headers: {
-      'Content-Type': 'application/x-www-form-urlencoded',
-    },
+    method: 'post',
   });
 }