| | |
| | | '/': { |
| | | // target: 'https://pc.zsycyy.com', |
| | | // target: 'http://www.shehua56.com', |
| | | target:'http://api.qitiana.cfd', |
| | | target:'https/api.bafang.icu', |
| | | secure: false, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | |
| | | |
| | | const ENV = process.env.NODE_ENV |
| | | export default { |
| | | DOMAIN: 'https://api.qitiana.cfd/', |
| | | baseURL: ENV == 'development' ? 'http://api.qitiana.cfd' :'https://api.qitiana.cfd/', |
| | | DOMAIN: 'https://api.bafang.icu/', |
| | | baseURL: ENV == 'development' ? 'http://192.168.10.5:8091' :'https://api.bafang.icu/', |
| | | // // baseURL: 'http://localhost:8070', |
| | | // /* Util API */ |
| | | // // baseURL: 'https://api.qitiana.cfd/', |
| | | // // baseURL: 'https://api.bafang.icu/', |
| | | util: { |
| | | image: '/util/image.html' // 图片上传 |
| | | } |
| | | } |
| | | // https://api.qitiana.cfd |
| | |
| | | this.admin = process.env.API_HOST; |
| | | console.log(this.admin) |
| | | if (this.admin == undefined) { |
| | | this.admin = "https://api.qitiana.cfd"; |
| | | this.admin = "https://api.bafang.icu"; |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | return |
| | | } |
| | | var opt = { |
| | | stockCode: this.currentItem.stockCode, |
| | | stockCode: this.currentItem.stockGid, |
| | | password: this.password, |
| | | num: this.num * 100, |
| | | } |
| | |
| | | return |
| | | } |
| | | var opt = { |
| | | stockCode: this.currentItem.stockCode, |
| | | stockCode: this.currentItem.stockGid, |
| | | password: this.password, |
| | | num: this.num * 100, |
| | | } |
| | |
| | | // upload_file[i].style.opacity = 0; |
| | | // } |
| | | // if (this.admin == undefined) { |
| | | // this.admin = "https://api.qitiana.cfd"; |
| | | // this.admin = "https://api.bafang.icu"; |
| | | // } |
| | | }, |
| | | methods: { |