瀏覽代碼

fix: 分类

Tim_Walker 1 年之前
父節點
當前提交
c897aaa0fc
共有 1 個文件被更改,包括 1 次插入4 次删除
  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',
   });
 }