Commit a78b9e2d728b69f4b8b7f82cf36a3fd400bf53f4

Authored by wesley88
1 parent b0a71bf1

1

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