1 Star 0 Fork 1

〓涩『果』〓/数字货币交易量化交易钱包

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
env.js 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
ouyangyiguang11 提交于 2021-04-29 16:35 . no message
// .env.js 文件
// 不同环境访问不同的路径
// import store from '@/common/store/index'
//登录接口
//http://robot.ibytecoin.com/index.php/vueapi/
//http://127.0.0.1:5555/index.php/vueapi/
const ENV_LOGIN_URL = {
development: 'http://127.0.0.1:5555/index.php/vueapi/', //开发环境
production: 'http://robot.ibytecoin.com/index.php/vueapi/', //生产环境
serverurl:'http://robot.ibytecoin.com',
}
//项目接口
const ENV_API_URL = {
development: 'http://127.0.0.1:5555/index.php/vueapi/', //开发环境
production: 'http://robot.ibytecoin.com/index.php/vueapi/', //生产环境
serverurl:'http://robot.ibytecoin.com',
}
//图片上传
const CMS_IMG_URL ='http://cdn.nccnt.com/';
//高德地图
const GAODE_URL ='https://restapi.amap.com/';
// process.env.NODE_ENV
// export const LOGIN_URL = ENV_LOGIN_URL['development']; //后台根域名
// export const API_URL = ENV_API_URL['development']; //后台接口域名
export const LOGIN_URL = ENV_LOGIN_URL['production']; //后台根域名
export const API_URL = ENV_API_URL['production']; //后台接口域名
export const SERVER_URL = ENV_API_URL['serverurl']; //后台接口域名
export const SOCKET_URL="ws://robot.ibytecoin.com:2348";
export const MAP_URL = GAODE_URL; //地图接口
export const IMG_URL = CMS_IMG_URL; //CMS图片地址
export const PUBLICAPPID = 'wxad277991b1e31287';
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/qi5000000/ibytecoin_robot.git
git@gitee.com:qi5000000/ibytecoin_robot.git
qi5000000
ibytecoin_robot
数字货币交易量化交易钱包
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385