no message
Showing
1 changed file
with
4 additions
and
1 deletions
| ... | @@ -63,8 +63,11 @@ let request = function(req) { | ... | @@ -63,8 +63,11 @@ let request = function(req) { |
| 63 | 63 | ||
| 64 | let url, data | 64 | let url, data |
| 65 | if (config.localPort) { | 65 | if (config.localPort) { |
| 66 | // const baseUrl = location.origin + '/prod-api/jsintszxd/request' | 66 | //生产环境 |
| 67 | // const baseUrl = location.origin + '/jsintszxd/request' | ||
| 68 | //本地离线环境 | ||
| 67 | const baseUrl = config.localPort + '/jsintszxd/request' | 69 | const baseUrl = config.localPort + '/jsintszxd/request' |
| 70 | |||
| 68 | if (req.method === 'POST') { | 71 | if (req.method === 'POST') { |
| 69 | req.params.userNo = token | 72 | req.params.userNo = token |
| 70 | url = baseUrl | 73 | url = baseUrl | ... | ... |
-
Please register or sign in to post a comment