%%---------------------------------------------------- %% "神装常驻运营礼包" %% %% @author liufenglin 240039421@qq.com %%---------------------------------------------------- -module(holiday_holy_eqm_data). -export([cfg/0]). -include("data_config.hrl"). -include("common.hrl"). cfg() -> #data_cfg{ name = holiday_holy_eqm_data ,lua_name = holiday_holy_eqm_data ,desc = "神装常驻运营礼包配置数据" ,source = "holiday_holy_eqm_data.xml" ,target = "holiday_holy_eqm_data.erl" ,inc = [] ,callback = [ {{get_constant, "undefined"}, cb_fun, handle, {get_tuple, ["常量"], code, val}} ,{{get_ids, "[]"}, cb_fun, handle, {get_tuple, ["常量"], code, val}} ,{get_periods, cb_fun, handle, {tuple_list, ["data"], [f_id, min_dun_id, max_dun_id]}} ,{{get_gift, "undefined"}, cb_fun, handle, {get_tuple, ["data"], [f_id, charge_id], [id, award]}} ,{get_limit, cb_fun, handle, {get_tuple, ["data"], [f_id, id], [limit_day, limit_week, limit_month, limit_all]}} ,{get_expends, cb_fun, handle, {tuple_type, ["data"], f_id, id}} ,{get_info, cb_fun, handle, {get_tuple, ["data"], [f_id, id], [award, price, charge_id, limit_type, original_price, res_name, rank, icon]}} ,{{get_cond, "undefined"}, cb_fun, handle, {get_tuple, ["data"], [f_id, id], mapping_cond}} ] ,callback_cli = [ ] ,callback_json = [ ] ,sheet = [ {["常量"], [ #f_column{type = atom, name = code, desc = "标签", mod = all} ,#f_column{type = term, name = val, desc = "值", mod = all,val_cli="{}", add_list_sign = false} ,#f_column{type = bstr, name = desc, desc = "名字", mod = client} ]} ,{["data"], [ #f_column{type = int, name = f_id, desc = "周期id", mod = all} ,#f_column{type = int, name = id, desc = "商品id", mod = all} ,#f_column{type = int, name = min_dun_id, desc = "关卡id下限", mod = all} ,#f_column{type = int, name = max_dun_id, desc = "关卡id上限", mod = all} ,#f_column{type = term, name = award, desc = "商品", mod = all} ,#f_column{type = int, name = price, desc = "价格", mod = all} ,#f_column{type = int, name = charge_id, desc = "充值id", mod = all} ,#f_column{type = int, name = limit_day, val = "0", desc = "天限购", mod = all} ,#f_column{type = int, name = limit_week, val = "0", desc = "周限购", mod = all} ,#f_column{type = int, name = limit_month, val = "0", desc = "月限购", mod = all} ,#f_column{type = int, name = limit_all, val = "0", desc = "永久限购", mod = all} ,#f_column{type = int, name = limit_type, val = "0", desc = "限购类型", mod = all} ,#f_column{type = term, name = mapping_cond, desc = "匹配条件", add_list_sign = false, mod = all} ,#f_column{type = int, name = original_price, val = "0", desc = "原价", mod = all} ,#f_column{type = int, name = res_name, val = "0", desc = "资源名称", mod = all} ,#f_column{type = int, name = rank, val = "0", desc = "排序", mod = all} ,#f_column{type = int, name = icon, val = "0", desc = "icon", mod = all} ]} ] }.