guhongwei 2 vuotta sitten
vanhempi
commit
b83e13f816
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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,