Commit 1fb19829 authored by wildfirecode13's avatar wildfirecode13

u

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