Commit 6cb1e7abdf234f439c9d9d19ef97bb8587746e94

Authored by 杨鑫
2 parents a6a3878d a78b9e2d

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

lvdao-miniapp/utils/request.js
@@ -10,7 +10,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { @@ -10,7 +10,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => {
10 if (method == 'POST' && !contentType) { 10 if (method == 'POST' && !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 }