diff --git a/view/peko/activity/act-61/js/index.js b/view/peko/activity/act-61/js/index.js index a0d3e5f..749ddae 100644 --- a/view/peko/activity/act-61/js/index.js +++ b/view/peko/activity/act-61/js/index.js @@ -2,7 +2,7 @@ var api = locateJudge(); var browser = checkVersion(); 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 share = { title: '纯真年代', diff --git a/view/peko/activity/act-car/js/index.js b/view/peko/activity/act-car/js/index.js index 4333586..f26355d 100644 --- a/view/peko/activity/act-car/js/index.js +++ b/view/peko/activity/act-car/js/index.js @@ -28,7 +28,7 @@ $(function () { $.ajax({ type: 'get', - // url: 'https://beta.api.pekolive.com/carActivity/user', + // url: 'http://beta.api.pekolive.com/carActivity/user', url: '/carActivity/user', headers: { pub_uid: info.uid, diff --git a/view/peko/activity/act-qixi/js/index.js b/view/peko/activity/act-qixi/js/index.js index 8521372..9d29aaa 100644 --- a/view/peko/activity/act-qixi/js/index.js +++ b/view/peko/activity/act-qixi/js/index.js @@ -15,7 +15,7 @@ let dataListT = [] // new VConsole if (EnvCheck() == 'test') { // new VConsole; - baseUrl = 'https://beta.api.pekolive.com/' + baseUrl = 'http://beta.api.pekolive.com/' } else { baseUrl = 'https://api.pekolive.com/' } diff --git a/view/peko/activity/act-qixi/js/message.js b/view/peko/activity/act-qixi/js/message.js index 7c3a3da..090a6c5 100644 --- a/view/peko/activity/act-qixi/js/message.js +++ b/view/peko/activity/act-qixi/js/message.js @@ -4,7 +4,7 @@ let info = {} if (EnvCheck() == 'test') { new VConsole; - baseUrl = 'https://beta.api.pekolive.com/' + baseUrl = 'http://beta.api.pekolive.com/' } else { baseUrl = 'https://api.pekolive.com/' } diff --git a/view/peko/activity/act-vehicle/js/index.js b/view/peko/activity/act-vehicle/js/index.js index a0d3e5f..749ddae 100644 --- a/view/peko/activity/act-vehicle/js/index.js +++ b/view/peko/activity/act-vehicle/js/index.js @@ -2,7 +2,7 @@ var api = locateJudge(); var browser = checkVersion(); 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 share = { title: '纯真年代', diff --git a/view/peko/activity/activemodel/js/index.js b/view/peko/activity/activemodel/js/index.js index 5427344..9912454 100644 --- a/view/peko/activity/activemodel/js/index.js +++ b/view/peko/activity/activemodel/js/index.js @@ -17,7 +17,7 @@ $(function() { console.log(res); var data = res.data; 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; share = { title: data.title, diff --git a/view/peko/activity/channel-new/js/index.js b/view/peko/activity/channel-new/js/index.js index 0eb9245..fee7e29 100644 --- a/view/peko/activity/channel-new/js/index.js +++ b/view/peko/activity/channel-new/js/index.js @@ -21,7 +21,7 @@ const channelDict = { $(function () { let env = EnvCheck(); 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) { if (res.code === 200) { //判断url参数是否是与渠道包名一致 diff --git a/view/peko/activity/channel/js/index.js b/view/peko/activity/channel/js/index.js index 82fd454..5a2db0c 100644 --- a/view/peko/activity/channel/js/index.js +++ b/view/peko/activity/channel/js/index.js @@ -18,7 +18,7 @@ $(function () { var env = EnvCheck(); var version = checkVersion() // 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) { console.log(res) if (res.code === 200) { diff --git a/view/peko/activity/explore_abandon/js/index.js b/view/peko/activity/explore_abandon/js/index.js index 47a675b..a422620 100644 --- a/view/peko/activity/explore_abandon/js/index.js +++ b/view/peko/activity/explore_abandon/js/index.js @@ -197,7 +197,7 @@ $(function () { }, type: 'POST', url: api + '/activity/pack/buy', - // url: 'https://beta.api.pekolive.com/activity/pack/buy', + // url: 'http://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: 'https://beta.api.pekolive.com/activities/draw/getPackList', + // url: 'http://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: 'https://beta.api.pekolive.com/activities/draw/queryTicketNum', + // url: 'http://beta.api.pekolive.com/activities/draw/queryTicketNum', data: { uid: info.uid // uid: 936365 diff --git a/view/peko/activity/first_anniversary/js/time_cinema.js b/view/peko/activity/first_anniversary/js/time_cinema.js index 4080b8b..8bc9594 100644 --- a/view/peko/activity/first_anniversary/js/time_cinema.js +++ b/view/peko/activity/first_anniversary/js/time_cinema.js @@ -37,7 +37,7 @@ let shareObj = { data: { msg: 'llllll', 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: '我的专属称号竟然是这样的!快来试试你的~', } } diff --git a/view/peko/activity/forzen-sucker/js/index.js b/view/peko/activity/forzen-sucker/js/index.js index 70bb183..03e857b 100644 --- a/view/peko/activity/forzen-sucker/js/index.js +++ b/view/peko/activity/forzen-sucker/js/index.js @@ -71,7 +71,7 @@ $(function() { } const getData = (type = 1) => { $.ajax({ - // url: 'https://beta.api.pekolive.com/summerActivity/ranking', + // url: 'http://beta.api.pekolive.com/summerActivity/ranking', url: '/summerActivity/ranking', data: { type }, headers: { diff --git a/view/peko/activity/planet/js/index.js b/view/peko/activity/planet/js/index.js index 9db6541..2b053a9 100644 --- a/view/peko/activity/planet/js/index.js +++ b/view/peko/activity/planet/js/index.js @@ -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 info = {} diff --git a/view/peko/activity/recruit/js/index.js b/view/peko/activity/recruit/js/index.js index 3411681..e84f91d 100644 --- a/view/peko/activity/recruit/js/index.js +++ b/view/peko/activity/recruit/js/index.js @@ -2,7 +2,7 @@ var api = locateJudge(); var browser = checkVersion(); 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 share = { title: 'piko公会招募令', diff --git a/view/peko/common/js/common2.js b/view/peko/common/js/common2.js index 0269d62..7e81212 100644 --- a/view/peko/common/js/common2.js +++ b/view/peko/common/js/common2.js @@ -1,5 +1,5 @@ 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) { diff --git a/view/peko/home/js/common.js b/view/peko/home/js/common.js index 18c1361..6cd6351 100644 --- a/view/peko/home/js/common.js +++ b/view/peko/home/js/common.js @@ -1,5 +1,5 @@ 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) { var html = template(templateId, templateData); diff --git a/view/peko/homeCheck/js/common.js b/view/peko/homeCheck/js/common.js index 18c1361..6cd6351 100644 --- a/view/peko/homeCheck/js/common.js +++ b/view/peko/homeCheck/js/common.js @@ -1,5 +1,5 @@ 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) { var html = template(templateId, templateData); diff --git a/view/peko/modules/game/js/index.js b/view/peko/modules/game/js/index.js index f1a3e47..4efdc4b 100644 --- a/view/peko/modules/game/js/index.js +++ b/view/peko/modules/game/js/index.js @@ -9,7 +9,7 @@ if (env == 'test') { // const testUrlNew = 'http://beta.99park.cn'; // 測試環境 const productUrlNew = 'https://api.pekolive.com'; // 正式環境 -const testUrlNew = 'https://beta.api.pekolive.com'; // 測試環境 +const testUrlNew = 'http://beta.api.pekolive.com'; // 測試環境 //獲取新域名前綴 function getUrlPrefixNew() { if (!EnvCheck()) return undefined; diff --git a/view/peko/modules/game/js/register.js b/view/peko/modules/game/js/register.js index 670799f..51a5e5a 100644 --- a/view/peko/modules/game/js/register.js +++ b/view/peko/modules/game/js/register.js @@ -6,7 +6,7 @@ if (env == 'test') { } const productUrlNew = 'https://api.pekolive.com'; // 正式环境 -const testUrlNew = 'https://beta.api.pekolive.com'; // 测试环境 +const testUrlNew = 'http://beta.api.pekolive.com'; // 测试环境 //获取新域名前缀 function getUrlPrefixNew () { if (!EnvCheck()) return undefined; diff --git a/view/peko/modules/inviteCode/js/index.js b/view/peko/modules/inviteCode/js/index.js index 7beb178..2910056 100644 --- a/view/peko/modules/inviteCode/js/index.js +++ b/view/peko/modules/inviteCode/js/index.js @@ -1,6 +1,6 @@ let browser = checkVersion() 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 betaUrl, realUrl // let link = (EnvCheck() == 'test') ? betaUrl : realUrl @@ -66,7 +66,7 @@ $(function () { 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 shareObj.data.link = shareObj.data.showUrl = (EnvCheck() == 'test') ? betaUrl : realUrl diff --git a/view/peko/modules/luckyBag/js/index.js b/view/peko/modules/luckyBag/js/index.js index 238bb62..dcefc58 100644 --- a/view/peko/modules/luckyBag/js/index.js +++ b/view/peko/modules/luckyBag/js/index.js @@ -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 locateObj = getQueryString() let info = {} diff --git a/view/peko/modules/luckyBagLinear/js/index.js b/view/peko/modules/luckyBagLinear/js/index.js index ec7b0a9..fe34cc1 100644 --- a/view/peko/modules/luckyBagLinear/js/index.js +++ b/view/peko/modules/luckyBagLinear/js/index.js @@ -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 locateObj = getQueryString() let info = {} diff --git a/view/peko/modules/myincome/static/js/0.9e4039d300ee641e0082.js b/view/peko/modules/myincome/static/js/0.9e4039d300ee641e0082.js index 78cabc0..6600191 100644 --- a/view/peko/modules/myincome/static/js/0.9e4039d300ee641e0082.js +++ b/view/peko/modules/myincome/static/js/0.9e4039d300ee641e0082.js @@ -1,4 +1,4 @@ -webpackJsonp([0],{"+EAh":function(t,e,r){"use strict";var i=r("//Fk"),n=r.n(i),o=r("mtWM"),s=r.n(o),a=r("Fd2+"),f=r("YaEn"),c=r("Z4iZ"),h=void 0;h="test"===Object(c.a)()?"https://beta.api.pekolive.com":"https://api.pekolive.com";var u=s.a.create({baseURL:h,timeout:5e3,"Content-Type":"application/x-www-form-urlencoded"});u.interceptors.request.use(function(t){return"Login"===f.a.apps[0]._route.name?t.headers={}:Object(c.b)().app?"WithDrawInfoBind"===f.a.apps[0]._route.name&&"/sms/verify"==t.url||"/sms/getCode"==t.url?t.headers={pub_ticket:window.sessionStorage.getItem("ticket"),client:"h5"}:t.headers={pub_ticket:window.sessionStorage.getItem("ticket"),pub_uid:window.sessionStorage.getItem("uid"),client:"h5"}:"WithDrawInfoBind"===f.a.apps[0]._route.name&&"/sms/verify"==t.url||"/sms/getCode"==t.url?t.headers={h5_token:window.sessionStorage.getItem("ticket"),client:"h5"}:t.headers={h5_token:window.sessionStorage.getItem("ticket"),pub_uid:window.sessionStorage.getItem("uid"),client:"h5"},t},function(t){console.log("網絡請求出錯了",t),n.a.reject(t)}),u.interceptors.response.use(function(t){var e=t;return 200!==e.data.code?10111===e.data.code?n.a.reject(e.data):25006===e.data.code?n.a.reject(e.data):503===e.data.code?n.a.reject(e.data):(Object(a.b)(e.data.message||"Error"),n.a.reject(new Error(e.data.message||"Error"))):n.a.resolve(e)},function(t){return Object(c.b)().app||401!==t.response.status?(Object(a.b)("HTTP "+t.response.status||"Error"),n.a.reject(t)):(window.localStorage.clear(),void Object(a.b)("登錄失效,請重新登錄"))});var d=u;r.d(e,"q",function(){return b}),r.d(e,"i",function(){return g}),r.d(e,"d",function(){return v}),r.d(e,"g",function(){return y}),r.d(e,"a",function(){return m}),r.d(e,"k",function(){return w}),r.d(e,"c",function(){return _}),r.d(e,"h",function(){return S}),r.d(e,"p",function(){return E}),r.d(e,"t",function(){return A}),r.d(e,"o",function(){return M}),r.d(e,"j",function(){return k}),r.d(e,"f",function(){return x}),r.d(e,"u",function(){return B}),r.d(e,"n",function(){return T}),r.d(e,"l",function(){return R}),r.d(e,"b",function(){return I}),r.d(e,"s",function(){return C}),r.d(e,"m",function(){return P}),r.d(e,"w",function(){return D}),r.d(e,"r",function(){return O}),r.d(e,"e",function(){return j}),r.d(e,"v",function(){return N});var l=void 0,p=Object(c.b)().app,b=function(t){return d({url:"/purse/query",method:"GET",params:t})},g=function(t){return d({url:"/bill/record/get",method:"GET",params:t})},v=function(t){return d({url:p?"/change/gold":"/change/h5/gold",method:"POST",params:t})},y=function(t){return d({url:p?"/withDraw/exchange":"/withDraw/h5/exchange/msg",method:"GET",params:t})},m=function(t){return d({url:p?"/withDraw/bound":"/withDraw/h5/bound2",method:"POST",params:t})},w=function(t){return d({url:"/sms/getCode",method:"POST",params:t})},_=function(t){return d({url:"/bill/record/get",method:"get",params:t})},S=function(t){return d({url:"/sms/getCode",method:"POST",params:t})},E=function(t){return d({url:"/oauth/h5/smsLogin",method:"POST",params:t})},A=function(t){return d({url:"/room/revenue/weekTotal",method:"GET",params:t})},M=function(t){return d({url:"/gameManage/withdraw/listWithdrawProd",method:"GET",params:t})},k=function(t){return d({url:"/gameManage/user/getPurse",method:"GET",params:t})},x=function(t){return d({url:"/gameManage/withdraw/h5/withDrawCash",method:"POST",params:t})},B=function(t){return d({url:"/room/revenue/singleBroadcast/weekTotal",method:"GET",params:t})},T=function(t){return d({url:"/withdraw/v2/getUserWithdrawInfo",method:"GET",params:t})},R=function(t){return d({url:"/qiniu/upload/getUploadToken",method:"GET",params:t})},I=function(t){return d({url:"/withdraw/v2/bindWithdrawInfo",method:"POST",params:t})},C=function(t){return d({url:"/sms/verify",method:"POST",params:t})},P=function(t){return d({url:"/withdraw/v2/getUerWithdrawConfigVO",method:"GET",params:t})},D=function(t){return d({url:"/withdraw/v2/applyWithdraw",method:"POST",params:t})},O=function(t){return d({url:"/withdraw/v2/updateWithdrawInfo",method:"POST",params:t})},j=(l="test"===Object(c.a)()?"https://beta.api.pekolive.com":"https://api.pekolive.com")+"/peko/modules/myincome/index.html#/DiamondLog",N=l+"/peko/modules/rule/output.html?platform=66"},"+HRN":function(t,e,r){"use strict";var i=r("X3l8").Buffer,n=r(1);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e,r,n,o=i.allocUnsafe(t>>>0),s=this.head,a=0;s;)e=s.data,r=o,n=a,e.copy(r,n),a+=s.data.length,s=s.next;return o},t}(),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var t=n.inspect({length:this.length});return this.constructor.name+" "+t})},"+W7P":function(module,exports){var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0;r16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=c(e,!1,r.key,r.iv);return d(t,i.key,i.iv)},e.createDecipheriv=d},"//Fk":function(t,e,r){t.exports={default:r("U5ju"),__esModule:!0}},"/MLu":function(t,e,r){t.exports=r("cSWu").PassThrough},"/vd3":function(t,e,r){e.pbkdf2=r("GUE9"),e.pbkdf2Sync=r("Zq1s")},"/y0r":function(t,e,r){var i=r("BEbT"),n=r("X3l8").Buffer,o=r("z+8S"),s=r("LC74"),a=r("UPHp"),f=r("H2Pp"),c=r("4sPJ");function h(t,e,r,s){o.call(this);var f=n.alloc(4,0);this._cipher=new i.AES(e);var h=this._cipher.encryptBlock(f);this._ghash=new a(h),r=function(t,e,r){if(12===e.length)return t._finID=n.concat([e,n.from([0,0,0,1])]),n.concat([e,n.from([0,0,0,2])]);var i=new a(r),o=e.length,s=o%16;i.update(e),s&&(s=16-s,i.update(n.alloc(s,0))),i.update(n.alloc(8,0));var f=8*o,h=n.alloc(8);h.writeUIntBE(f,0,8),i.update(h),t._finID=i.state;var u=n.from(t._finID);return c(u),u}(this,r,h),this._prev=n.from(r),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}s(h,o),h.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=n.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=f(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var i=Math.min(t.length,e.length),n=0;n>>2]>>>24-o%4*8&255;e[i+o>>>2]|=s<<24-(i+o)%4*8}else for(o=0;o>>2]=r[o>>>2];return this.sigBytes+=n,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new h.init(r,e/2)}},l=u.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new h.init(r,e)}},p=u.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},b=f.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,i=this._data,n=i.words,o=i.sigBytes,s=this.blockSize,a=o/(4*s),f=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*s,c=t.min(4*f,o);if(f){for(var u=0;u0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e,r,n,o=i.allocUnsafe(t>>>0),s=this.head,a=0;s;)e=s.data,r=o,n=a,e.copy(r,n),a+=s.data.length,s=s.next;return o},t}(),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var t=n.inspect({length:this.length});return this.constructor.name+" "+t})},"+W7P":function(module,exports){var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0;r16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=c(e,!1,r.key,r.iv);return d(t,i.key,i.iv)},e.createDecipheriv=d},"//Fk":function(t,e,r){t.exports={default:r("U5ju"),__esModule:!0}},"/MLu":function(t,e,r){t.exports=r("cSWu").PassThrough},"/vd3":function(t,e,r){e.pbkdf2=r("GUE9"),e.pbkdf2Sync=r("Zq1s")},"/y0r":function(t,e,r){var i=r("BEbT"),n=r("X3l8").Buffer,o=r("z+8S"),s=r("LC74"),a=r("UPHp"),f=r("H2Pp"),c=r("4sPJ");function h(t,e,r,s){o.call(this);var f=n.alloc(4,0);this._cipher=new i.AES(e);var h=this._cipher.encryptBlock(f);this._ghash=new a(h),r=function(t,e,r){if(12===e.length)return t._finID=n.concat([e,n.from([0,0,0,1])]),n.concat([e,n.from([0,0,0,2])]);var i=new a(r),o=e.length,s=o%16;i.update(e),s&&(s=16-s,i.update(n.alloc(s,0))),i.update(n.alloc(8,0));var f=8*o,h=n.alloc(8);h.writeUIntBE(f,0,8),i.update(h),t._finID=i.state;var u=n.from(t._finID);return c(u),u}(this,r,h),this._prev=n.from(r),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}s(h,o),h.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=n.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=f(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var i=Math.min(t.length,e.length),n=0;n>>2]>>>24-o%4*8&255;e[i+o>>>2]|=s<<24-(i+o)%4*8}else for(o=0;o>>2]=r[o>>>2];return this.sigBytes+=n,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new h.init(r,e/2)}},l=u.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new h.init(r,e)}},p=u.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},b=f.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,i=this._data,n=i.words,o=i.sigBytes,s=this.blockSize,a=o/(4*s),f=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*s,c=t.min(4*f,o);if(f){for(var u=0;ui;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&G(e)})}},G=function(e){y.call(u,function(){var t,n,r,o=e._v,i=N(e);if(i&&(t=w(function(){T?R.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=T||N(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){y.call(u,function(){var t;T?R.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},L=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=k(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,a(L,r,1),a(M,r,1))}catch(e){M.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){M.call({_w:n,_d:!1},e)}}};U||(C=function(e){h(this,C,"Promise","_h"),d(e),r.call(this);try{e(a(L,this,1),a(M,this,1))}catch(e){M.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("xH/j")(C.prototype,{then:function(e,t){var n=S(m(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=T?R.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(L,e,1),this.reject=a(M,e,1)},x.f=S=function(e){return e===C||e===s?new i(e):o(e)}),l(l.G+l.W+l.F*!U,{Promise:C}),n("e6n0")(C,"Promise"),n("bRrM")("Promise"),s=n("FeBl").Promise,l(l.S+l.F*!U,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!U),"Promise",{resolve:function(e){return j(c&&this===s?C:this,e)}}),l(l.S+l.F*!(U&&n("dY0y")(function(e){C.all(e).catch(O)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,s=1;v(e,!1,function(e){var c=i++,u=!1;n.push(void 0),s++,t.resolve(e).then(function(e){u||(u=!0,n[c]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},DQCr:function(e,t,n){"use strict";var r=n("cGG2");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))}))}),i=s.join("&")}if(i){var c=e.indexOf("#");-1!==c&&(e=e.slice(0,c)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},DUeU:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(i,function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):void 0!==t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):void 0!==e[o]&&(n[o]=e[o])}),r.forEach(s,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var c=o.concat(i).concat(s),u=Object.keys(t).filter(function(e){return-1===c.indexOf(e)});return r.forEach(u,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},EqBC:function(e,t,n){"use strict";var r=n("kM2E"),o=n("FeBl"),i=n("7KvD"),s=n("t8x9"),c=n("fJUb");r(r.P+r.R,"Promise",{finally:function(e){var t=s(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}})},FtD3:function(e,t,n){"use strict";var r=n("t8qj");e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}},GHBc:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},"JP+z":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){u.headers[e]={}}),r.forEach(["post","put","patch"],function(e){u.headers[e]=r.merge(i)}),e.exports=u}).call(t,n("W2nU"))},L42u:function(e,t,n){var r,o,i,s=n("+ZMJ"),c=n("knuC"),u=n("RPLV"),a=n("ON07"),f=n("7KvD"),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,m=0,y={},g=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},x=function(e){g.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++m]=function(){c("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete y[e]},"process"==n("R9M2")(l)?r=function(e){l.nextTick(s(g,e,1))}:v&&v.now?r=function(e){v.now(s(g,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=x,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in a("script")?function(e){u.appendChild(a("script")).onreadystatechange=function(){u.removeChild(this),g.call(e)}}:function(e){setTimeout(s(g,e,1),0)}),e.exports={set:p,clear:d}},Mhyx:function(e,t,n){var r=n("/bQp"),o=n("dSzd")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},"NWt+":function(e,t,n){var r=n("+ZMJ"),o=n("msXi"),i=n("Mhyx"),s=n("77Pl"),c=n("QRG4"),u=n("3fs2"),a={},f={};(t=e.exports=function(e,t,n,l,p){var d,h,v,m,y=p?function(){return e}:u(e),g=r(n,l,t?2:1),x=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(d=c(e.length);d>x;x++)if((m=t?g(s(h=e[x])[0],h[1]):g(e[x]))===a||m===f)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=o(v,g,h.value,t))===a||m===f)return m}).BREAK=a,t.RETURN=f},"Oi+a":function(e,t,n){"use strict";var r=n("dIwP"),o=n("qRfI");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"RY/4":function(e,t,n){var r=n("R9M2"),o=n("dSzd")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},TNV1:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},U5ju:function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("CXw9"),n("EqBC"),n("jKW+"),e.exports=n("FeBl").Promise},W2nU:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,a=[],f=!1,l=-1;function p(){f&&u&&(f=!1,u.length?a=u.concat(a):l=-1,a.length&&d())}function d(){if(!f){var e=c(p);f=!0;for(var t=a.length;t;){for(u=a,a=[];++l1)for(var n=1;n=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},p1b6:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,s){var c=[];c.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(o)&&c.push("path="+o),r.isString(i)&&c.push("domain="+i),!0===s&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},pBtG:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},pxG4:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},qARP:function(e,t,n){"use strict";var r=n("lOnJ");e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},qRfI:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},t8qj:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},t8x9:function(e,t,n){var r=n("77Pl"),o=n("lOnJ"),i=n("dSzd")("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||void 0==(n=r(s)[i])?t:o(n)}},tIFN:function(e,t,n){"use strict";var r=n("cGG2"),o=n("JP+z"),i=n("XmWM"),s=n("DUeU");function c(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var u=c(n("KCLY"));u.Axios=i,u.create=function(e){return c(s(u.defaults,e))},u.Cancel=n("dVOP"),u.CancelToken=n("cWxy"),u.isCancel=n("pBtG"),u.all=function(e){return Promise.all(e)},u.spread=n("pxG4"),e.exports=u,e.exports.default=u},vLgD:function(e,t,n){"use strict";var r=n("//Fk"),o=n.n(r),i=n("mtWM"),s=n.n(i),c=n("Fd2+"),u=(n("YaEn"),n("Z4iZ")),a=void 0;a="test"===Object(u.a)()?"https://beta.api.pekolive.com":"https://api.pekolive.com";var f=s.a.create({baseURL:a,timeout:5e3,"Content-Type":"application/x-www-form-urlencoded",headers:{pub_ticket:window.sessionStorage.getItem("ticket"),pub_uid:window.sessionStorage.getItem("uid")}});f.interceptors.request.use(function(e){return e},function(e){console.log("網絡請求出錯了",e),o.a.reject(e)}),f.interceptors.response.use(function(e){var t=e;return 200!==t.data.code?(Object(c.a)(t.data.message||"Error"),o.a.reject(new Error(t.data.message||"Error"))):o.a.resolve(t)},function(e){return o.a.reject(e)}),t.a=f},"xH/j":function(e,t,n){var r=n("hJx8");e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},xLtR:function(e,t,n){"use strict";var r=n("cGG2"),o=n("TNV1"),i=n("pBtG"),s=n("KCLY");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return c(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}}}); +webpackJsonp([0],{"//Fk":function(e,t,n){e.exports={default:n("U5ju"),__esModule:!0}},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var o=n.config.validateStatus;!o||o(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},"2KxR":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"3fs2":function(e,t,n){var r=n("RY/4"),o=n("dSzd")("iterator"),i=n("/bQp");e.exports=n("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},"5VQ+":function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"7GwW":function(e,t,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),s=n("Oi+a"),c=n("oJlt"),u=n("GHBc"),a=n("FtD3");e.exports=function(e){return new Promise(function(t,f){var l=e.data,p=e.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+v)}var m=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),i(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};o(t,f,r),d=null}},d.onabort=function(){d&&(f(a("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(a("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),f(a(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=n("p1b6"),g=(e.withCredentials||u(m))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;g&&(p[e.xsrfHeaderName]=g)}if("setRequestHeader"in d&&r.forEach(p,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),f(e),d=null)}),void 0===l&&(l=null),d.send(l)})}},"82Mu":function(e,t,n){var r=n("7KvD"),o=n("L42u").set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,c=r.Promise,u="process"==n("R9M2")(s);e.exports=function(){var e,t,n,a=function(){var r,o;for(u&&(r=s.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){s.nextTick(a)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(a)}}else n=function(){o.call(r,a)};else{var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},"9bBU":function(e,t,n){n("mClu");var r=n("FeBl").Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},BRgg:function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"d",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"e",function(){return a}),n.d(t,"a",function(){return f});var r=n("bOdI"),o=n.n(r),i=n("vLgD"),s=function(e){var t;return Object(i.a)((t={method:"GET",url:"/allrank/geth5"},o()(t,"url","/allrank/geth5"),o()(t,"params",e),t))},c=function(e){return Object(i.a)({url:"/box/rankings",method:"get",params:e})},u=function(e){return Object(i.a)({url:"/client/init",method:"get",params:e})},a=function(e){return Object(i.a)({url:"/findLove/record",method:"get",params:e})},f=function(){return Object(i.a)({url:"/clan/listRank",method:"get"})}},C4MV:function(e,t,n){e.exports={default:n("9bBU"),__esModule:!0}},CXw9:function(e,t,n){"use strict";var r,o,i,s,c=n("O4g8"),u=n("7KvD"),a=n("+ZMJ"),f=n("RY/4"),l=n("kM2E"),p=n("EqjI"),d=n("lOnJ"),h=n("2KxR"),v=n("NWt+"),m=n("t8x9"),y=n("L42u").set,g=n("82Mu")(),x=n("qARP"),w=n("dNDb"),b=n("iUbK"),j=n("fJUb"),E=u.TypeError,R=u.process,_=R&&R.versions,P=_&&_.v8||"",C=u.Promise,T="process"==f(R),O=function(){},S=o=x.f,U=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n("dSzd")("species")]=function(e){e(O,O)};return(T||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof t&&0!==P.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(e){}}(),k=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0,s=function(t){var n,i,s,c=o?t.ok:t.fail,u=t.resolve,a=t.reject,f=t.domain;try{c?(o||(2==e._h&&B(e),e._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),s=!0)),n===t.promise?a(E("Promise-chain cycle")):(i=k(n))?i.call(n,u,a):u(n)):a(r)}catch(e){f&&!s&&f.exit(),a(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&G(e)})}},G=function(e){y.call(u,function(){var t,n,r,o=e._v,i=N(e);if(i&&(t=w(function(){T?R.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=T||N(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){y.call(u,function(){var t;T?R.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},L=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=k(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,a(L,r,1),a(M,r,1))}catch(e){M.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){M.call({_w:n,_d:!1},e)}}};U||(C=function(e){h(this,C,"Promise","_h"),d(e),r.call(this);try{e(a(L,this,1),a(M,this,1))}catch(e){M.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("xH/j")(C.prototype,{then:function(e,t){var n=S(m(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=T?R.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=a(L,e,1),this.reject=a(M,e,1)},x.f=S=function(e){return e===C||e===s?new i(e):o(e)}),l(l.G+l.W+l.F*!U,{Promise:C}),n("e6n0")(C,"Promise"),n("bRrM")("Promise"),s=n("FeBl").Promise,l(l.S+l.F*!U,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(c||!U),"Promise",{resolve:function(e){return j(c&&this===s?C:this,e)}}),l(l.S+l.F*!(U&&n("dY0y")(function(e){C.all(e).catch(O)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,s=1;v(e,!1,function(e){var c=i++,u=!1;n.push(void 0),s++,t.resolve(e).then(function(e){u||(u=!0,n[c]=e,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},DQCr:function(e,t,n){"use strict";var r=n("cGG2");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))}))}),i=s.join("&")}if(i){var c=e.indexOf("#");-1!==c&&(e=e.slice(0,c)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},DUeU:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(i,function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):void 0!==t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):void 0!==e[o]&&(n[o]=e[o])}),r.forEach(s,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var c=o.concat(i).concat(s),u=Object.keys(t).filter(function(e){return-1===c.indexOf(e)});return r.forEach(u,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},EqBC:function(e,t,n){"use strict";var r=n("kM2E"),o=n("FeBl"),i=n("7KvD"),s=n("t8x9"),c=n("fJUb");r(r.P+r.R,"Promise",{finally:function(e){var t=s(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}})},FtD3:function(e,t,n){"use strict";var r=n("t8qj");e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}},GHBc:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},"JP+z":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){u.headers[e]={}}),r.forEach(["post","put","patch"],function(e){u.headers[e]=r.merge(i)}),e.exports=u}).call(t,n("W2nU"))},L42u:function(e,t,n){var r,o,i,s=n("+ZMJ"),c=n("knuC"),u=n("RPLV"),a=n("ON07"),f=n("7KvD"),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,m=0,y={},g=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},x=function(e){g.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++m]=function(){c("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete y[e]},"process"==n("R9M2")(l)?r=function(e){l.nextTick(s(g,e,1))}:v&&v.now?r=function(e){v.now(s(g,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=x,r=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in a("script")?function(e){u.appendChild(a("script")).onreadystatechange=function(){u.removeChild(this),g.call(e)}}:function(e){setTimeout(s(g,e,1),0)}),e.exports={set:p,clear:d}},Mhyx:function(e,t,n){var r=n("/bQp"),o=n("dSzd")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},"NWt+":function(e,t,n){var r=n("+ZMJ"),o=n("msXi"),i=n("Mhyx"),s=n("77Pl"),c=n("QRG4"),u=n("3fs2"),a={},f={};(t=e.exports=function(e,t,n,l,p){var d,h,v,m,y=p?function(){return e}:u(e),g=r(n,l,t?2:1),x=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(d=c(e.length);d>x;x++)if((m=t?g(s(h=e[x])[0],h[1]):g(e[x]))===a||m===f)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=o(v,g,h.value,t))===a||m===f)return m}).BREAK=a,t.RETURN=f},"Oi+a":function(e,t,n){"use strict";var r=n("dIwP"),o=n("qRfI");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"RY/4":function(e,t,n){var r=n("R9M2"),o=n("dSzd")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},TNV1:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},U5ju:function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("CXw9"),n("EqBC"),n("jKW+"),e.exports=n("FeBl").Promise},W2nU:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u,a=[],f=!1,l=-1;function p(){f&&u&&(f=!1,u.length?a=u.concat(a):l=-1,a.length&&d())}function d(){if(!f){var e=c(p);f=!0;for(var t=a.length;t;){for(u=a,a=[];++l1)for(var n=1;n=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},p1b6:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,s){var c=[];c.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(o)&&c.push("path="+o),r.isString(i)&&c.push("domain="+i),!0===s&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},pBtG:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},pxG4:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},qARP:function(e,t,n){"use strict";var r=n("lOnJ");e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},qRfI:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},t8qj:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},t8x9:function(e,t,n){var r=n("77Pl"),o=n("lOnJ"),i=n("dSzd")("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||void 0==(n=r(s)[i])?t:o(n)}},tIFN:function(e,t,n){"use strict";var r=n("cGG2"),o=n("JP+z"),i=n("XmWM"),s=n("DUeU");function c(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var u=c(n("KCLY"));u.Axios=i,u.create=function(e){return c(s(u.defaults,e))},u.Cancel=n("dVOP"),u.CancelToken=n("cWxy"),u.isCancel=n("pBtG"),u.all=function(e){return Promise.all(e)},u.spread=n("pxG4"),e.exports=u,e.exports.default=u},vLgD:function(e,t,n){"use strict";var r=n("//Fk"),o=n.n(r),i=n("mtWM"),s=n.n(i),c=n("Fd2+"),u=(n("YaEn"),n("Z4iZ")),a=void 0;a="test"===Object(u.a)()?"http://beta.api.pekolive.com":"https://api.pekolive.com";var f=s.a.create({baseURL:a,timeout:5e3,"Content-Type":"application/x-www-form-urlencoded",headers:{pub_ticket:window.sessionStorage.getItem("ticket"),pub_uid:window.sessionStorage.getItem("uid")}});f.interceptors.request.use(function(e){return e},function(e){console.log("網絡請求出錯了",e),o.a.reject(e)}),f.interceptors.response.use(function(e){var t=e;return 200!==t.data.code?(Object(c.a)(t.data.message||"Error"),o.a.reject(new Error(t.data.message||"Error"))):o.a.resolve(t)},function(e){return o.a.reject(e)}),t.a=f},"xH/j":function(e,t,n){var r=n("hJx8");e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},xLtR:function(e,t,n){"use strict";var r=n("cGG2"),o=n("TNV1"),i=n("pBtG"),s=n("KCLY");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return c(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}}}); //# sourceMappingURL=0.53a3f98235aff13506fa.js.map \ No newline at end of file diff --git a/view/peko/modules/rank/static/js/6.b3d9ff408c7d4d4b55df.js b/view/peko/modules/rank/static/js/6.b3d9ff408c7d4d4b55df.js index 33bcca5..1c73595 100644 --- a/view/peko/modules/rank/static/js/6.b3d9ff408c7d4d4b55df.js +++ b/view/peko/modules/rank/static/js/6.b3d9ff408c7d4d4b55df.js @@ -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 \ No newline at end of file diff --git a/view/peko/modules/statistic/js/serial.js b/view/peko/modules/statistic/js/serial.js index 2dccee8..b45aaea 100644 --- a/view/peko/modules/statistic/js/serial.js +++ b/view/peko/modules/statistic/js/serial.js @@ -62,7 +62,7 @@ $(function () { getDataFromBack: function () { var api = getUrlPrefix(); 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) { if (res.code == 200) { erbanNo = res.data.room.erbanNo diff --git a/view/peko/modules/weekStar/js/index.js b/view/peko/modules/weekStar/js/index.js index edfe6f2..b528d0d 100644 --- a/view/peko/modules/weekStar/js/index.js +++ b/view/peko/modules/weekStar/js/index.js @@ -43,7 +43,7 @@ $(function () { $.ajax({ type: 'get', - // url: 'https://beta.api.pekolive.com/weekStar/getWeekStarList', + // url: 'http://beta.api.pekolive.com/weekStar/getWeekStarList', url: '/weekStar/getWeekStarList', data: { rankType, diff --git a/view/peko/vue-project/myincome/config/index.js b/view/peko/vue-project/myincome/config/index.js index c368f84..9a0a328 100644 --- a/view/peko/vue-project/myincome/config/index.js +++ b/view/peko/vue-project/myincome/config/index.js @@ -13,7 +13,7 @@ module.exports = { proxyTable: { '/api': { // target: 'https://api.pekolive.com', // target: 'http://120.79.211.243', - target: 'https://beta.api.pekolive.com', + target: 'http://beta.api.pekolive.com', changeOrigin: true, secure: false, pathRewrite: { diff --git a/view/peko/vue-project/myincome/src/api/myincome.js b/view/peko/vue-project/myincome/src/api/myincome.js index 7b642ec..0122b37 100644 --- a/view/peko/vue-project/myincome/src/api/myincome.js +++ b/view/peko/vue-project/myincome/src/api/myincome.js @@ -5,7 +5,7 @@ let isApp = checkVersion().app if (EnvCheck() === 'test') { // console.log(12542); // baseURL = 'http://120.79.211.243' - host = 'https://beta.api.pekolive.com' + host = 'http://beta.api.pekolive.com' // 正式环境 } else { host = 'https://api.pekolive.com' diff --git a/view/peko/vue-project/myincome/src/utils/request.js b/view/peko/vue-project/myincome/src/utils/request.js index a532df0..4e01eed 100644 --- a/view/peko/vue-project/myincome/src/utils/request.js +++ b/view/peko/vue-project/myincome/src/utils/request.js @@ -6,7 +6,7 @@ let baseURL; if (EnvCheck() === 'test') { // console.log('test'); // baseURL = 'http://120.79.211.243' - baseURL = 'https://beta.api.pekolive.com' + baseURL = 'http://beta.api.pekolive.com' // 正式环境 } else { baseURL = 'https://api.pekolive.com' diff --git a/view/peko/vue-project/myincome/src/view/myincome/MyIncome.vue b/view/peko/vue-project/myincome/src/view/myincome/MyIncome.vue index 5bd8403..d28a385 100644 --- a/view/peko/vue-project/myincome/src/view/myincome/MyIncome.vue +++ b/view/peko/vue-project/myincome/src/view/myincome/MyIncome.vue @@ -864,10 +864,10 @@ export default { }); }, 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") { 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; return; } @@ -879,7 +879,7 @@ export default { examineSingleBroadcast() { if (EnvCheck() === "test") { 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; return; } diff --git a/view/peko/vue-project/wishRank/config/index.js b/view/peko/vue-project/wishRank/config/index.js index dc19283..9372967 100644 --- a/view/peko/vue-project/wishRank/config/index.js +++ b/view/peko/vue-project/wishRank/config/index.js @@ -13,7 +13,7 @@ module.exports = { proxyTable: { '/api': { // target: 'https://api.pekolive.com', // target: 'http://120.79.211.243', - target: 'https://beta.api.pekolive.com', + target: 'http://beta.api.pekolive.com', changeOrigin: true, secure: false, pathRewrite: { diff --git a/view/peko/vue-project/wishRank/src/utils/request.js b/view/peko/vue-project/wishRank/src/utils/request.js index 41e0656..c8cbc28 100644 --- a/view/peko/vue-project/wishRank/src/utils/request.js +++ b/view/peko/vue-project/wishRank/src/utils/request.js @@ -5,7 +5,7 @@ import { EnvCheck } from '@/utils/browser.js' let baseURL; if (EnvCheck() === 'test') { // baseURL = 'http://120.79.211.243' - baseURL = 'https://beta.api.pekolive.com' + baseURL = 'http://beta.api.pekolive.com' // 正式环境 } else { baseURL = 'https://api.pekolive.com' diff --git a/view/peko/vue-project/wishRank/src/view/rank/wishingWellRule.vue b/view/peko/vue-project/wishRank/src/view/rank/wishingWellRule.vue index ae2d08c..1a94580 100644 --- a/view/peko/vue-project/wishRank/src/view/rank/wishingWellRule.vue +++ b/view/peko/vue-project/wishRank/src/view/rank/wishingWellRule.vue @@ -7,7 +7,7 @@ import { EnvCheck } from "@/utils/browser.js"; let baseURL; if (EnvCheck() === "test") { // baseURL = 'http://120.79.211.243' - baseURL = "https://beta.api.pekolive.com"; + baseURL = "http://beta.api.pekolive.com"; // 正式环境 } else { baseURL = "https://api.pekolive.com";