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