Commit f3fbd468d0b162a132ea93e2353bbc8329c0550f

Authored by 杨鑫
2 parents d0fdf3d7 319f303b

Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb

lvdao-miniapp/utils/request.js
@@ -11,7 +11,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { @@ -11,7 +11,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => {
11 types = 'application/x-www-form-urlencoded' 11 types = 'application/x-www-form-urlencoded'
12 } else if (method == 'POST' && contentType) { 12 } else if (method == 'POST' && contentType) {
13 types = contentType 13 types = contentType
14 - } else { 14 + } else {
15 types = 'application/json'; 15 types = 'application/json';
16 } 16 }
17 var bases = '' 17 var bases = ''