Commit 2ba94f51 authored by wildfirecode's avatar wildfirecode

Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev

parents 606d6871 cb448830
...@@ -46,12 +46,8 @@ export default class MapScene extends Scene { ...@@ -46,12 +46,8 @@ export default class MapScene extends Scene {
NetManager.ins.doHelp((success, res) => { NetManager.ins.doHelp((success, res) => {
doHelpFlag = true; doHelpFlag = true;
switch (true) { switch (true) {
case (res.code == "444444"): showToast("操作太频繁,请稍后再试"); break;
case (res.code == "400017"): showToast("您不是新用户呢~"); break; case (res.code == "400017"): showToast("您不是新用户呢~"); break;
case (res.code == "0000004"): showToast("缺少必要参数"); break;
case (res.code == "0000021"): showToast("无效的分享码"); break;
case (res.code == "0000022"): showToast("不可以给自己助力哦~"); break; case (res.code == "0000022"): showToast("不可以给自己助力哦~"); break;
case (res.code == "0200201"): showToast("邀请任务已结束"); break;
case (res.code == "0200202"): showToast("已经给好友助力过了哦~"); break; case (res.code == "0200202"): showToast("已经给好友助力过了哦~"); break;
} }
if (!success) { if (!success) {
......
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