Commit 1fb19829 authored by wildfirecode13's avatar wildfirecode13

u

parent 07f3fbf7
{ {
"code": null, "code": null,
"data": 1, "data": 0,
"message": null, "message": null,
"success": true "success": true
} }
\ No newline at end of file
...@@ -172,7 +172,7 @@ export function getProjectId(): string { ...@@ -172,7 +172,7 @@ export function getProjectId(): string {
let splitArr = windowUrl.split(projectxString); let splitArr = windowUrl.split(projectxString);
if (splitArr.length != 2) { if (splitArr.length != 2) {
return projectId = "projectId" return projectId = "unknownProjectId"
} }
let start = windowUrl.indexOf(projectxString) + projectxString.length; let start = windowUrl.indexOf(projectxString) + projectxString.length;
......
...@@ -11,7 +11,7 @@ import { hideShareMask } from "../common/ShareMask"; ...@@ -11,7 +11,7 @@ import { hideShareMask } from "../common/ShareMask";
import { PrizePanel } from "../panels/prize"; import { PrizePanel } from "../panels/prize";
import { RulePanel } from "../panels/rule"; import { RulePanel } from "../panels/rule";
import updateShareFunc from "../share"; import updateShareFunc from "../share";
import { getPxTokenSave, sendWebNet, WebNetName } from "../WebNet"; import { getPxTokenSave, sendLog, sendWebNet, WebNetName } from "../WebNet";
import { IndexScene } from "./IndexScene"; import { IndexScene } from "./IndexScene";
let prize; let prize;
export class NewbieScene extends Scene { export class NewbieScene extends Scene {
...@@ -37,6 +37,8 @@ export class NewbieScene extends Scene { ...@@ -37,6 +37,8 @@ export class NewbieScene extends Scene {
if (query.autoprize == 1) { if (query.autoprize == 1) {
this.openPrize(); this.openPrize();
} }
sendLog("exposure",1);
} }
openPrize() { openPrize() {
...@@ -71,6 +73,8 @@ export class NewbieScene extends Scene { ...@@ -71,6 +73,8 @@ export class NewbieScene extends Scene {
} }
onClick_openBtn() { onClick_openBtn() {
sendLog("click",1);
FYGE.Tween.removeTweens(this.newbie_open); FYGE.Tween.removeTweens(this.newbie_open);
this.newbie_open.stop(); this.newbie_open.stop();
this.openPrize() this.openPrize()
......
...@@ -26,7 +26,13 @@ export class ShareScene extends Scene { ...@@ -26,7 +26,13 @@ export class ShareScene extends Scene {
showToast('助力机会已用完,明天再来吧~'); showToast('助力机会已用完,明天再来吧~');
break; break;
case '200305': case '200305':
showToast('不能再给他助力了,明天再来吧~'); showToast('今日已经为好友助力过,请明日再来。');
break;
case '20008':
showToast('好友体验金已达到上限,不能助力。');
break;
case '200306':
showToast('不能给自己助力');
break; break;
default: default:
showToast(res.message||'网络异常~'); showToast(res.message||'网络异常~');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment