guhongwei 2 lat temu
rodzic
commit
b83e13f816
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/api.js

+ 1 - 1
common/api.js

@@ -84,7 +84,7 @@ export const requestBase = async (uri, method = 'GET', data, type) => {
 			let route = pages[pages.length - 1].$page.fullPath;
 			uni.request({
 				url: rkbaseUrl,
-				method: 'POST',
+				method,
 				header: {
 					views,
 					Referer: route,