%%---------------------------------------------------- %% 数据配置文件 %% @author xxxx@xxx.xxx %%---------------------------------------------------- -module(drama_chat_data). -export([cfg/0]). -include("data_config.hrl"). -include("common.hrl"). cfg() -> #data_cfg{ name = drama_chat_data ,lua_name = drama_chat_data ,desc = "剧情频道数据" ,source = "drama_chat_data.xml" ,target = "drama_chat_data.erl" ,inc = [] ,callback = [ ] ,callback_cli = [ {info, cb_fun_lua, handle, {key_val, ["剧情频道"], id, all}} ] ,callback_json = [ {info, cb_fun_json, handle, {key_val, ["剧情频道"], id, all}} ] ,sheet = [ {["剧情频道"], [ #f_column{type = int, name = id, desc = "关卡id", mod = client} ,#f_column{type = int, name = bid, desc = "章节id", mod = client} ,#f_column{type = bstr, name = name, desc = "章节名", mod = client} ,#f_column{type = bstr, name = title, desc = "副标题", mod = client} ,#f_column{type = term, name = condition, desc = "播放条件", mod = client} ,#f_column{type = term, name = content, desc = "剧情内容", mod = client} ,#f_column{type = int, name = height, desc = "显示高度", mod = client} ]} ] }.