修改测试域名
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
var api = locateJudge();
|
var api = locateJudge();
|
||||||
var browser = checkVersion();
|
var browser = checkVersion();
|
||||||
var info = {};
|
var info = {};
|
||||||
var betaUrl = 'https://beta.api.pekolive.com/peko/activity/act-61/index.html';
|
var betaUrl = 'http://beta.api.pekolive.com/peko/activity/act-61/index.html';
|
||||||
var realUrl = tranUrl + '/peko/activity/act-61/index.html';
|
var realUrl = tranUrl + '/peko/activity/act-61/index.html';
|
||||||
var share = {
|
var share = {
|
||||||
title: '纯真年代',
|
title: '纯真年代',
|
||||||
|
@@ -28,7 +28,7 @@ $(function () {
|
|||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'get',
|
type: 'get',
|
||||||
// url: 'https://beta.api.pekolive.com/carActivity/user',
|
// url: 'http://beta.api.pekolive.com/carActivity/user',
|
||||||
url: '/carActivity/user',
|
url: '/carActivity/user',
|
||||||
headers: {
|
headers: {
|
||||||
pub_uid: info.uid,
|
pub_uid: info.uid,
|
||||||
|
@@ -15,7 +15,7 @@ let dataListT = []
|
|||||||
// new VConsole
|
// new VConsole
|
||||||
if (EnvCheck() == 'test') {
|
if (EnvCheck() == 'test') {
|
||||||
// new VConsole;
|
// new VConsole;
|
||||||
baseUrl = 'https://beta.api.pekolive.com/'
|
baseUrl = 'http://beta.api.pekolive.com/'
|
||||||
} else {
|
} else {
|
||||||
baseUrl = 'https://api.pekolive.com/'
|
baseUrl = 'https://api.pekolive.com/'
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@ let info = {}
|
|||||||
|
|
||||||
if (EnvCheck() == 'test') {
|
if (EnvCheck() == 'test') {
|
||||||
new VConsole;
|
new VConsole;
|
||||||
baseUrl = 'https://beta.api.pekolive.com/'
|
baseUrl = 'http://beta.api.pekolive.com/'
|
||||||
} else {
|
} else {
|
||||||
baseUrl = 'https://api.pekolive.com/'
|
baseUrl = 'https://api.pekolive.com/'
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
var api = locateJudge();
|
var api = locateJudge();
|
||||||
var browser = checkVersion();
|
var browser = checkVersion();
|
||||||
var info = {};
|
var info = {};
|
||||||
var betaUrl = 'https://beta.api.pekolive.com/peko/activity/act-61/index.html';
|
var betaUrl = 'http://beta.api.pekolive.com/peko/activity/act-61/index.html';
|
||||||
var realUrl = tranUrl + '/peko/activity/act-61/index.html';
|
var realUrl = tranUrl + '/peko/activity/act-61/index.html';
|
||||||
var share = {
|
var share = {
|
||||||
title: '纯真年代',
|
title: '纯真年代',
|
||||||
|
@@ -17,7 +17,7 @@ $(function() {
|
|||||||
console.log(res);
|
console.log(res);
|
||||||
var data = res.data;
|
var data = res.data;
|
||||||
document.title = data.title;
|
document.title = data.title;
|
||||||
betaUrl = 'https://beta.api.pekolive.com/peko/activity/activemodel/index.html?code=' + code;
|
betaUrl = 'http://beta.api.pekolive.com/peko/activity/activemodel/index.html?code=' + code;
|
||||||
realUrl = tranUrl + '/peko/activity/activemodel/index.html?code=' + code;
|
realUrl = tranUrl + '/peko/activity/activemodel/index.html?code=' + code;
|
||||||
share = {
|
share = {
|
||||||
title: data.title,
|
title: data.title,
|
||||||
|
@@ -21,7 +21,7 @@ const channelDict = {
|
|||||||
$(function () {
|
$(function () {
|
||||||
let env = EnvCheck();
|
let env = EnvCheck();
|
||||||
let version = checkVersion()
|
let version = checkVersion()
|
||||||
// $.get('https://beta.api.pekolive.com/version/download/link', function (res) {
|
// $.get('http://beta.api.pekolive.com/version/download/link', function (res) {
|
||||||
$.get('https://api.pekolive.com/version/download/link', function (res) {
|
$.get('https://api.pekolive.com/version/download/link', function (res) {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
//判断url参数是否是与渠道包名一致
|
//判断url参数是否是与渠道包名一致
|
||||||
|
@@ -18,7 +18,7 @@ $(function () {
|
|||||||
var env = EnvCheck();
|
var env = EnvCheck();
|
||||||
var version = checkVersion()
|
var version = checkVersion()
|
||||||
// console.log(version);
|
// console.log(version);
|
||||||
// $.get('https://beta.api.pekolive.com/version/download/link', function (res) {
|
// $.get('http://beta.api.pekolive.com/version/download/link', function (res) {
|
||||||
$.get('https://api.pekolive.com/version/download/link', function (res) {
|
$.get('https://api.pekolive.com/version/download/link', function (res) {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
@@ -197,7 +197,7 @@ $(function () {
|
|||||||
},
|
},
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: api + '/activity/pack/buy',
|
url: api + '/activity/pack/buy',
|
||||||
// url: 'https://beta.api.pekolive.com/activity/pack/buy',
|
// url: 'http://beta.api.pekolive.com/activity/pack/buy',
|
||||||
data: {
|
data: {
|
||||||
uid: info.uid,
|
uid: info.uid,
|
||||||
packId: giftObj.giftId,
|
packId: giftObj.giftId,
|
||||||
@@ -241,7 +241,7 @@ $(function () {
|
|||||||
},
|
},
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: api + '/activities/draw/getPackList',
|
url: api + '/activities/draw/getPackList',
|
||||||
// url: 'https://beta.api.pekolive.com/activities/draw/getPackList',
|
// url: 'http://beta.api.pekolive.com/activities/draw/getPackList',
|
||||||
data: {
|
data: {
|
||||||
uid: info.uid,
|
uid: info.uid,
|
||||||
ticket: info.ticket
|
ticket: info.ticket
|
||||||
@@ -263,7 +263,7 @@ function renderTicket(param) {
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: api + '/activities/draw/queryTicketNum',
|
url: api + '/activities/draw/queryTicketNum',
|
||||||
// url: 'https://beta.api.pekolive.com/activities/draw/queryTicketNum',
|
// url: 'http://beta.api.pekolive.com/activities/draw/queryTicketNum',
|
||||||
data: {
|
data: {
|
||||||
uid: info.uid
|
uid: info.uid
|
||||||
// uid: 936365
|
// uid: 936365
|
||||||
|
@@ -37,7 +37,7 @@ let shareObj = {
|
|||||||
data: {
|
data: {
|
||||||
msg: 'llllll',
|
msg: 'llllll',
|
||||||
title: '我的piko一周年报告',
|
title: '我的piko一周年报告',
|
||||||
imgUrl: 'https://beta.api.pekolive.com/peko/modules/wxPubPay/images/logo.png',
|
imgUrl: 'http://beta.api.pekolive.com/peko/modules/wxPubPay/images/logo.png',
|
||||||
desc: '我的专属称号竟然是这样的!快来试试你的~',
|
desc: '我的专属称号竟然是这样的!快来试试你的~',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -71,7 +71,7 @@ $(function() {
|
|||||||
}
|
}
|
||||||
const getData = (type = 1) => {
|
const getData = (type = 1) => {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
// url: 'https://beta.api.pekolive.com/summerActivity/ranking',
|
// url: 'http://beta.api.pekolive.com/summerActivity/ranking',
|
||||||
url: '/summerActivity/ranking',
|
url: '/summerActivity/ranking',
|
||||||
data: { type },
|
data: { type },
|
||||||
headers: {
|
headers: {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
let baseUrl = EnvCheck() == 'test' ? 'https://beta.api.pekolive.com' : 'https://api.pekolive.com'
|
let baseUrl = EnvCheck() == 'test' ? 'http://beta.api.pekolive.com' : 'https://api.pekolive.com'
|
||||||
let browser = checkVersion()
|
let browser = checkVersion()
|
||||||
let info = {}
|
let info = {}
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
var api = locateJudge();
|
var api = locateJudge();
|
||||||
var browser = checkVersion();
|
var browser = checkVersion();
|
||||||
var info = {};
|
var info = {};
|
||||||
var betaUrl = 'https://beta.api.pekolive.com/peko/activity/recruit/index.html';
|
var betaUrl = 'http://beta.api.pekolive.com/peko/activity/recruit/index.html';
|
||||||
var realUrl = tranUrl + '/peko/activity/recruit/index.html';
|
var realUrl = tranUrl + '/peko/activity/recruit/index.html';
|
||||||
var share = {
|
var share = {
|
||||||
title: 'piko公会招募令',
|
title: 'piko公会招募令',
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
||||||
const testUrl = 'https://beta.api.pekolive.com'; // 测试环境
|
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
|
||||||
|
|
||||||
|
|
||||||
function render (templateId, templateData, target) {
|
function render (templateId, templateData, target) {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
||||||
const testUrl = 'https://beta.api.pekolive.com'; // 测试环境
|
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
|
||||||
|
|
||||||
function render (templateId, templateData, target) {
|
function render (templateId, templateData, target) {
|
||||||
var html = template(templateId, templateData);
|
var html = template(templateId, templateData);
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
||||||
const testUrl = 'https://beta.api.pekolive.com'; // 测试环境
|
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
|
||||||
|
|
||||||
function render (templateId, templateData, target) {
|
function render (templateId, templateData, target) {
|
||||||
var html = template(templateId, templateData);
|
var html = template(templateId, templateData);
|
||||||
|
@@ -9,7 +9,7 @@ if (env == 'test') {
|
|||||||
// const testUrlNew = 'http://beta.99park.cn'; // 測試環境
|
// const testUrlNew = 'http://beta.99park.cn'; // 測試環境
|
||||||
|
|
||||||
const productUrlNew = 'https://api.pekolive.com'; // 正式環境
|
const productUrlNew = 'https://api.pekolive.com'; // 正式環境
|
||||||
const testUrlNew = 'https://beta.api.pekolive.com'; // 測試環境
|
const testUrlNew = 'http://beta.api.pekolive.com'; // 測試環境
|
||||||
//獲取新域名前綴
|
//獲取新域名前綴
|
||||||
function getUrlPrefixNew() {
|
function getUrlPrefixNew() {
|
||||||
if (!EnvCheck()) return undefined;
|
if (!EnvCheck()) return undefined;
|
||||||
|
@@ -6,7 +6,7 @@ if (env == 'test') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const productUrlNew = 'https://api.pekolive.com'; // 正式环境
|
const productUrlNew = 'https://api.pekolive.com'; // 正式环境
|
||||||
const testUrlNew = 'https://beta.api.pekolive.com'; // 测试环境
|
const testUrlNew = 'http://beta.api.pekolive.com'; // 测试环境
|
||||||
//获取新域名前缀
|
//获取新域名前缀
|
||||||
function getUrlPrefixNew () {
|
function getUrlPrefixNew () {
|
||||||
if (!EnvCheck()) return undefined;
|
if (!EnvCheck()) return undefined;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
let browser = checkVersion()
|
let browser = checkVersion()
|
||||||
let info = {}
|
let info = {}
|
||||||
// let betaUrl = 'https://beta.api.pekolive.com/peko/modules/inviteCode/share.html?uid=' + info.uid
|
// let betaUrl = 'http://beta.api.pekolive.com/peko/modules/inviteCode/share.html?uid=' + info.uid
|
||||||
// let realUrl = 'https://api.pekolive.com/peko/modules/inviteCode/share.html?uid=' + info.uid
|
// let realUrl = 'https://api.pekolive.com/peko/modules/inviteCode/share.html?uid=' + info.uid
|
||||||
let betaUrl, realUrl
|
let betaUrl, realUrl
|
||||||
// let link = (EnvCheck() == 'test') ? betaUrl : realUrl
|
// let link = (EnvCheck() == 'test') ? betaUrl : realUrl
|
||||||
@@ -66,7 +66,7 @@ $(function () {
|
|||||||
noRecordRender()
|
noRecordRender()
|
||||||
}
|
}
|
||||||
// noRecordRender()
|
// noRecordRender()
|
||||||
betaUrl = 'https://beta.api.pekolive.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
|
betaUrl = 'http://beta.api.pekolive.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
|
||||||
realUrl = 'https://api.pekolive.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
|
realUrl = 'https://api.pekolive.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
|
||||||
shareObj.data.link = shareObj.data.showUrl = (EnvCheck() == 'test') ? betaUrl : realUrl
|
shareObj.data.link = shareObj.data.showUrl = (EnvCheck() == 'test') ? betaUrl : realUrl
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
let baseUrl = EnvCheck() == 'test' ? 'https://beta.api.pekolive.com' : 'https://api.pekolive.com'
|
let baseUrl = EnvCheck() == 'test' ? 'http://beta.api.pekolive.com' : 'https://api.pekolive.com'
|
||||||
let browser = checkVersion()
|
let browser = checkVersion()
|
||||||
let locateObj = getQueryString()
|
let locateObj = getQueryString()
|
||||||
let info = {}
|
let info = {}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
let baseUrl = EnvCheck() == 'test' ? 'https://beta.api.pekolive.com' : 'https://api.pekolive.com'
|
let baseUrl = EnvCheck() == 'test' ? 'http://beta.api.pekolive.com' : 'https://api.pekolive.com'
|
||||||
let browser = checkVersion()
|
let browser = checkVersion()
|
||||||
let locateObj = getQueryString()
|
let locateObj = getQueryString()
|
||||||
let info = {}
|
let info = {}
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@ var browser = checkVersion();
|
|||||||
const urlPrefix = getUrlPrefix();
|
const urlPrefix = getUrlPrefix();
|
||||||
var getUrl = getQueryString();
|
var getUrl = getQueryString();
|
||||||
const urlTest = "https://api.pekolive.com";
|
const urlTest = "https://api.pekolive.com";
|
||||||
const urlProduct = "https://beta.api.pekolive.com";
|
const urlProduct = "http://beta.api.pekolive.com";
|
||||||
let arr = [];
|
let arr = [];
|
||||||
let arr2 = [];
|
let arr2 = [];
|
||||||
let countryCode = "";//选择区号
|
let countryCode = "";//选择区号
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
var browser = checkVersion();
|
var browser = checkVersion();
|
||||||
const urlPrefix = getUrlPrefix();
|
const urlPrefix = getUrlPrefix();
|
||||||
const urlTest = "https://api.pekolive.com";
|
const urlTest = "https://api.pekolive.com";
|
||||||
const urlProduct = "https://beta.api.pekolive.com";
|
const urlProduct = "http://beta.api.pekolive.com";
|
||||||
let arr = [];
|
let arr = [];
|
||||||
let arr2 = [];
|
let arr2 = [];
|
||||||
let countryCode = "";//选择区号
|
let countryCode = "";//选择区号
|
||||||
|
@@ -11,7 +11,7 @@ let locateObj = getQueryString();
|
|||||||
let browser = checkVersion();
|
let browser = checkVersion();
|
||||||
|
|
||||||
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
||||||
const testUrl = 'https://beta.api.pekolive.com'; // 测试环境
|
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
|
||||||
//获取域名前缀
|
//获取域名前缀
|
||||||
function getUrlPrefix() {
|
function getUrlPrefix() {
|
||||||
if (!EnvCheck()) return undefined;
|
if (!EnvCheck()) return undefined;
|
||||||
|
@@ -11,7 +11,7 @@ let locateObj = getQueryString();
|
|||||||
let browser = checkVersion();
|
let browser = checkVersion();
|
||||||
|
|
||||||
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
||||||
const testUrl = 'https://beta.api.pekolive.com'; // 测试环境
|
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
|
||||||
//获取域名前缀
|
//获取域名前缀
|
||||||
function getUrlPrefix() {
|
function getUrlPrefix() {
|
||||||
if (!EnvCheck()) return undefined;
|
if (!EnvCheck()) return undefined;
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
|||||||
webpackJsonp([6],{YNn1:function(e,t){},bxJL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Z4iZ"),o=void 0;o="test"===Object(i.a)()?"https://beta.api.pekolive.com":"https://api.pekolive.com";var a={created:function(){window.location.href=o+"/peko/modules/rule/wishingWellRule.html"}},r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var c=n("VU/8")(a,r,!1,function(e){n("YNn1")},"data-v-a5d26634",null);t.default=c.exports}});
|
webpackJsonp([6],{YNn1:function(e,t){},bxJL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Z4iZ"),o=void 0;o="test"===Object(i.a)()?"http://beta.api.pekolive.com":"https://api.pekolive.com";var a={created:function(){window.location.href=o+"/peko/modules/rule/wishingWellRule.html"}},r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var c=n("VU/8")(a,r,!1,function(e){n("YNn1")},"data-v-a5d26634",null);t.default=c.exports}});
|
||||||
//# sourceMappingURL=6.b3d9ff408c7d4d4b55df.js.map
|
//# sourceMappingURL=6.b3d9ff408c7d4d4b55df.js.map
|
@@ -62,7 +62,7 @@ $(function () {
|
|||||||
getDataFromBack: function () {
|
getDataFromBack: function () {
|
||||||
var api = getUrlPrefix();
|
var api = getUrlPrefix();
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
// $.get('https://beta.api.pekolive.com//room/serials?codes=ZjU2ZTQ=', function (res) {
|
// $.get('http://beta.api.pekolive.com//room/serials?codes=ZjU2ZTQ=', function (res) {
|
||||||
$.get(api + '/room/serials', { codes: queryString.codes + '=' }, function (res) {
|
$.get(api + '/room/serials', { codes: queryString.codes + '=' }, function (res) {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
erbanNo = res.data.room.erbanNo
|
erbanNo = res.data.room.erbanNo
|
||||||
|
@@ -43,7 +43,7 @@ $(function () {
|
|||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'get',
|
type: 'get',
|
||||||
// url: 'https://beta.api.pekolive.com/weekStar/getWeekStarList',
|
// url: 'http://beta.api.pekolive.com/weekStar/getWeekStarList',
|
||||||
url: '/weekStar/getWeekStarList',
|
url: '/weekStar/getWeekStarList',
|
||||||
data: {
|
data: {
|
||||||
rankType,
|
rankType,
|
||||||
|
@@ -13,7 +13,7 @@ module.exports = {
|
|||||||
proxyTable: { '/api': {
|
proxyTable: { '/api': {
|
||||||
// target: 'https://api.pekolive.com',
|
// target: 'https://api.pekolive.com',
|
||||||
// target: 'http://120.79.211.243',
|
// target: 'http://120.79.211.243',
|
||||||
target: 'https://beta.api.pekolive.com',
|
target: 'http://beta.api.pekolive.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
@@ -5,7 +5,7 @@ let isApp = checkVersion().app
|
|||||||
if (EnvCheck() === 'test') {
|
if (EnvCheck() === 'test') {
|
||||||
// console.log(12542);
|
// console.log(12542);
|
||||||
// baseURL = 'http://120.79.211.243'
|
// baseURL = 'http://120.79.211.243'
|
||||||
host = 'https://beta.api.pekolive.com'
|
host = 'http://beta.api.pekolive.com'
|
||||||
// 正式环境
|
// 正式环境
|
||||||
} else {
|
} else {
|
||||||
host = 'https://api.pekolive.com'
|
host = 'https://api.pekolive.com'
|
||||||
|
@@ -6,7 +6,7 @@ let baseURL;
|
|||||||
if (EnvCheck() === 'test') {
|
if (EnvCheck() === 'test') {
|
||||||
// console.log('test');
|
// console.log('test');
|
||||||
// baseURL = 'http://120.79.211.243'
|
// baseURL = 'http://120.79.211.243'
|
||||||
baseURL = 'https://beta.api.pekolive.com'
|
baseURL = 'http://beta.api.pekolive.com'
|
||||||
// 正式环境
|
// 正式环境
|
||||||
} else {
|
} else {
|
||||||
baseURL = 'https://api.pekolive.com'
|
baseURL = 'https://api.pekolive.com'
|
||||||
|
@@ -864,10 +864,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
examine() {
|
examine() {
|
||||||
// window.location.href = `https://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=${this.runningWater.roomUidEncode}`;
|
// window.location.href = `http://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=${this.runningWater.roomUidEncode}`;
|
||||||
if (EnvCheck() === "test") {
|
if (EnvCheck() === "test") {
|
||||||
window.location.href =
|
window.location.href =
|
||||||
"https://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=" +
|
"http://beta.api.pekolive.com/peko/modules/statistic/serial.html?codes=" +
|
||||||
this.runningWater.roomUidEncode;
|
this.runningWater.roomUidEncode;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -879,7 +879,7 @@ export default {
|
|||||||
examineSingleBroadcast() {
|
examineSingleBroadcast() {
|
||||||
if (EnvCheck() === "test") {
|
if (EnvCheck() === "test") {
|
||||||
window.location.href =
|
window.location.href =
|
||||||
"https://beta.api.pekolive.com/peko/modules/statistic/serialsingleBroadcast.html?codes=" +
|
"http://beta.api.pekolive.com/peko/modules/statistic/serialsingleBroadcast.html?codes=" +
|
||||||
this.rw_single_broadcast.roomUidEncode;
|
this.rw_single_broadcast.roomUidEncode;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -13,7 +13,7 @@ module.exports = {
|
|||||||
proxyTable: { '/api': {
|
proxyTable: { '/api': {
|
||||||
// target: 'https://api.pekolive.com',
|
// target: 'https://api.pekolive.com',
|
||||||
// target: 'http://120.79.211.243',
|
// target: 'http://120.79.211.243',
|
||||||
target: 'https://beta.api.pekolive.com',
|
target: 'http://beta.api.pekolive.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
@@ -5,7 +5,7 @@ import { EnvCheck } from '@/utils/browser.js'
|
|||||||
let baseURL;
|
let baseURL;
|
||||||
if (EnvCheck() === 'test') {
|
if (EnvCheck() === 'test') {
|
||||||
// baseURL = 'http://120.79.211.243'
|
// baseURL = 'http://120.79.211.243'
|
||||||
baseURL = 'https://beta.api.pekolive.com'
|
baseURL = 'http://beta.api.pekolive.com'
|
||||||
// 正式环境
|
// 正式环境
|
||||||
} else {
|
} else {
|
||||||
baseURL = 'https://api.pekolive.com'
|
baseURL = 'https://api.pekolive.com'
|
||||||
|
@@ -7,7 +7,7 @@ import { EnvCheck } from "@/utils/browser.js";
|
|||||||
let baseURL;
|
let baseURL;
|
||||||
if (EnvCheck() === "test") {
|
if (EnvCheck() === "test") {
|
||||||
// baseURL = 'http://120.79.211.243'
|
// baseURL = 'http://120.79.211.243'
|
||||||
baseURL = "https://beta.api.pekolive.com";
|
baseURL = "http://beta.api.pekolive.com";
|
||||||
// 正式环境
|
// 正式环境
|
||||||
} else {
|
} else {
|
||||||
baseURL = "https://api.pekolive.com";
|
baseURL = "https://api.pekolive.com";
|
||||||
|
Reference in New Issue
Block a user