| | |
| | | |
| | | // const ENV_DEV = 'zhapi.coinbtcs.com' // dev |
| | | // const ENV_DEV = 'openapi.yanshiz.com' // dev |
| | | const ENV_DEV = '192.168.10.24:8086' // dev |
| | | // const ENV_DEV = 'aa.yanshiz.com' // dev |
| | | // const ENV_DEV = '192.168.10.24:8086' // dev |
| | | const ENV_DEV = 'aa.yanshiz.com' // dev |
| | | |
| | | |
| | | // const ENV_PRO = 'qheufhj.site' // app域名 |
| | |
| | | let ws_url = '' |
| | | let host_url = '' |
| | | if (import.meta.env.MODE === 'development') { |
| | | host_url = 'http://' + ENV_DEV |
| | | base_url = 'http://' + ENV_DEV |
| | | host_url = 'https://' + ENV_DEV |
| | | base_url = 'https://' + ENV_DEV |
| | | ws_url = 'ws://' + ENV_DEV + '/api/websocket' |
| | | } else { |
| | | host_url = 'https://' + ENV_PRO |