Commit 4d7afed0667739b186991ef34eb5af980a4b4a7e
1 parent
0a4d8b71
1
Showing
1 changed file
with
2 additions
and
2 deletions
lvdao-miniapp/utils/request.js
| 1 | 1 | ||
| 2 | // let hostall = window.location.href; | 2 | // let hostall = window.location.href; |
| 3 | // let c1 = hostall.split('cdwlMall')[0]; | 3 | // let c1 = hostall.split('cdwlMall')[0]; |
| 4 | -let c1 = 'https://jy.scjysm.asia:18086/' | ||
| 5 | -// let c1 = 'https://zhgw-uat.028wlkj.com/' | 4 | +// let c1 = 'https://jy.scjysm.asia:18086/' |
| 5 | +let c1 = 'https://zhgw-uat.028wlkj.com/' | ||
| 6 | //封装request请求 | 6 | //封装request请求 |
| 7 | const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { | 7 | const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 8 | //判断header提交数据类型 | 8 | //判断header提交数据类型 |