Commit 3451694b authored by wildfirecode's avatar wildfirecode

1

parent 73e03b4e
......@@ -106,13 +106,13 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
onGotDojoinError(error) {
this.startbtn.getComponent(Button).enabled = true;
if (error === '0') {
if (error === '400001') {
this.bubbling('showToast', '活动还未开始\n敬请期待~');
}
else if (error === '1') {
else if (error === '400005') {
this.bubbling('showToast', '活动已结束\n下次早点来哦~');
}
else if (error === '2') {
else if (error === '400002') {
this.bubbling('showDialog', 'Alert', '您已经没有抽奖机会了');
}
else {
......
{
"success": true,
"code": "",
"success": false,
"code": "400001",
"desc": null,
"timestamp": 1561445946866,
"data": {
......
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