换皮:新增peko
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
let browser = checkVersion()
|
||||
let info = {}
|
||||
// let betaUrl = 'https://yeying.api.shengxuanwangluo.com/peko/modules/inviteCode/share.html?uid=' + info.uid
|
||||
// let realUrl = 'https://yeying.api.shengxuanwangluo.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.lecheng163.com/peko/modules/inviteCode/share.html?uid=' + info.uid
|
||||
let betaUrl, realUrl
|
||||
// let link = (EnvCheck() == 'test') ? betaUrl : realUrl
|
||||
// console.log(6, link);
|
||||
@@ -9,10 +9,10 @@ if (EnvCheck() === 'test') {
|
||||
new VConsole()
|
||||
}
|
||||
let share = {
|
||||
title: '玩游戏交朋友,来大鹅',
|
||||
title: '玩游戏交朋友,来peko',
|
||||
// link: link,
|
||||
desc: '人美声甜小姐姐在线连麦陪玩,有趣的人正在等你~',
|
||||
imgUrl: 'https://yeying.api.shengxuanwangluo.com/peko/modules/wxPubPay/images/logo.png'
|
||||
imgUrl: 'https://api.lecheng163.com/peko/modules/wxPubPay/images/logo.png'
|
||||
}
|
||||
let shareObj = {
|
||||
type: 2,
|
||||
@@ -66,8 +66,8 @@ $(function () {
|
||||
noRecordRender()
|
||||
}
|
||||
// noRecordRender()
|
||||
betaUrl = 'https://yeying.api.shengxuanwangluo.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
|
||||
realUrl = 'https://yeying.api.shengxuanwangluo.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.lecheng163.com/peko/modules/inviteCode/share.html?inviteCode=' + res.data.inviteCode
|
||||
shareObj.data.link = shareObj.data.showUrl = (EnvCheck() == 'test') ? betaUrl : realUrl
|
||||
|
||||
$('.invite-btn').on('click', function () {
|
||||
|
Reference in New Issue
Block a user