Compare commits

...

1 Commits
myCard ... pay

Author SHA1 Message Date
Dragon
57b54f6942 测试域名加s 2023-09-04 17:20:17 +08:00
38 changed files with 43 additions and 43 deletions

View File

@@ -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: '纯真年代',

View File

@@ -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,

View File

@@ -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/'
}

View File

@@ -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/'
}

View File

@@ -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: '纯真年代',

View File

@@ -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,

View File

@@ -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参数是否是与渠道包名一致

View File

@@ -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) {

View File

@@ -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

View File

@@ -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: '我的专属称号竟然是这样的!快来试试你的~',
}
}

View File

@@ -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: {

View File

@@ -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 = {}

View File

@@ -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公会招募令',

View File

@@ -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) {

View File

@@ -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);

View File

@@ -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);

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -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 = {}

View File

@@ -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

View File

@@ -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 = "";//选择区号

View File

@@ -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 = "";//选择区号

View File

@@ -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;

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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,

View File

@@ -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: {

View File

@@ -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'

View File

@@ -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'

View File

@@ -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;
}

View File

@@ -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: {

View File

@@ -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'

View File

@@ -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";