Commit a32b2a02 authored by liujiangnan's avatar liujiangnan

feat: 激活提示

parent af92493d
...@@ -728,7 +728,7 @@ export default class NewClass extends middleLayerBase { ...@@ -728,7 +728,7 @@ export default class NewClass extends middleLayerBase {
kid_id: kidInfo.id, book_code: activeCode, token: cc.sys.localStorage.getItem('token') kid_id: kidInfo.id, book_code: activeCode, token: cc.sys.localStorage.getItem('token')
}); });
if (res && res.code == 200) { if (res && res.code == 200) {
this.showTips("激活成功"); this.showTips(res.msg);
cc.find('middleLayer/activeLayer').active = false; cc.find('middleLayer/activeLayer').active = false;
input.textLabel.string = ""; input.textLabel.string = "";
} else { } else {
......
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