%%---------------------------------------------------- %% ���������ļ� %% @author %%---------------------------------------------------- -module(secretary_data). -export([cfg/0]). -include("data_config.hrl"). -include("common.hrl"). cfg() -> #data_cfg{ name = secretary_data ,lua_name = secretary_data ,desc = "秘书配置" ,source = "secretary_data.xml" ,target = "secretary_data.erl" ,inc = [] ,callback = [ {{get,10}, cb_fun, handle, {get_tuple, ["激活任务"], rank, open_lev}} ] ,callback_cli = [ {secretary_info, cb_fun_lua, handle, {key_val, ["激活任务"], rank, open_lev}}, {secretary_const, cb_fun_lua, handle, {key_val, ["常量配置"], [key], all}} ] ,callback_json = [ {secretary_info, cb_fun_json, handle, {key_val, ["激活任务"], rank, open_lev}}, {secretary_const, cb_fun_json, handle, {key_val, ["常量配置"], [key], all}} ] ,sheet = [ {["常量配置"], [ #f_column{type = bstr, name = key, desc = "常量标识", mod = client} ,#f_column{type = int, name = val , desc = "常量值", mod = client} ,#f_column{type = bstr, name = des , desc = "描述", mod = client } ]}, {["激活任务"], [ #f_column{type = int, name = rank, desc = "秘书位编号", mod = all} ,#f_column{type = int, name = open_lev , desc = "开放等级", mod = all} ,#f_column{type = bstr, name = des , desc = "描述" } ]} ] }.