guhongwei 2 роки тому
батько
коміт
a7a53e458f
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      common/api.js

+ 1 - 1
common/api.js

@@ -94,7 +94,7 @@ export const requestBase = async (uri, method = 'GET', data, type) => {
 					header.Referer = route;
 					uni.request({
 						url: baseUrl,
-						method: 'POST',
+						method,
 						data: data || {},
 						header,
 						success: (res) => {