Commit e9bdaca4 authored by 范雪寒's avatar 范雪寒

feat: NS_select_book

parent 6276e71f
...@@ -294,6 +294,15 @@ cc.Class({ ...@@ -294,6 +294,15 @@ cc.Class({
callback('密码错误!'); callback('密码错误!');
} }
break; break;
case 'NS_select_book':
if (data.bookId == 10001) {
this.showLog('选择剧本: ' + data.bookId);
callback('选择剧本: ' + data.bookId);
} else {
this.showLog('剧本未解锁!');
callback('剧本未解锁!');
}
break;
default: default:
this.showLog('未定义接口: ' + apiName); this.showLog('未定义接口: ' + apiName);
break; break;
......
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