Commit f3fbd468d0b162a132ea93e2353bbc8329c0550f
Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb
Showing
1 changed file
with
1 additions
and
1 deletions
lvdao-miniapp/utils/request.js
| ... | ... | @@ -11,7 +11,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 11 | 11 | types = 'application/x-www-form-urlencoded' |
| 12 | 12 | } else if (method == 'POST' && contentType) { |
| 13 | 13 | types = contentType |
| 14 | - } else { | |
| 14 | + } else { | |
| 15 | 15 | types = 'application/json'; |
| 16 | 16 | } |
| 17 | 17 | var bases = '' | ... | ... |