97a60dfd by 华明祺

no message

1 parent 699dfdee
...@@ -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,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!