no message
Showing
2 changed files
with
2 additions
and
1 deletions
| ... | @@ -63,7 +63,7 @@ let request = function(req) { | ... | @@ -63,7 +63,7 @@ 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 = config.localPort + '/jsintszxd/request' | 66 | const baseUrl = location.origin + '/prod-api/jsintszxd/request' |
| 67 | if (req.method === 'POST') { | 67 | if (req.method === 'POST') { |
| 68 | req.params.userNo = token | 68 | req.params.userNo = token |
| 69 | url = baseUrl | 69 | url = baseUrl | ... | ... |
| 1 | const baseUrl_api = "/dev-api"; | 1 | const baseUrl_api = "/dev-api"; |
| 2 | const appSecretId = 'af14ef3f-ebec-446c-8d1f-c4afa60dd095'; | 2 | const appSecretId = 'af14ef3f-ebec-446c-8d1f-c4afa60dd095'; |
| 3 | const localPort = localStorage.getItem('localPort') | 3 | const localPort = localStorage.getItem('localPort') |
| 4 | // const localPort = 'guowang' | ||
| 4 | 5 | ||
| 5 | export default { | 6 | export default { |
| 6 | localPort, | 7 | localPort, | ... | ... |
-
Please register or sign in to post a comment