Files
fc/server/tools/gen_data/cfg/holiday_charge_rebate_data.erl
T
2026-05-23 22:10:14 +08:00

34 lines
1.3 KiB
Erlang

%%----------------------------------------------------
%% 数据配置文件
%% @author wujinhan<947537249@qq.com>
%%----------------------------------------------------
-module(holiday_charge_rebate_data).
-export([cfg/0]).
-include("data_config.hrl").
-include("common.hrl").
cfg() ->
#data_cfg{
name = holiday_charge_rebate_data
,lua_name = holiday_charge_rebate_data
,desc = "元旦充值返利配置数据"
,source = "holiday_charge_rebate_data.xml"
,target = "holiday_charge_rebate_data.erl"
,inc = []
,callback = [
{{get_const, undefined}, cb_fun, handle, {get_fun, ["常量配置"], "get_const(~ts) -> ~ts; %% ~ts", [key, val, desc]}}
]
,callback_cli = [
{constant, cb_fun_lua, handle, {key_val, ["常量配置"], key, all}}
]
,callback_json = [
{constant, cb_fun_json, handle, {key_val, ["常量配置"], key, all}}
]
,sheet = [
{["常量配置"],[
#f_column{type = term, name = key, desc = "常量标识", add_list_sign = false,mod = all}
,#f_column{type = term, name = val, desc = "常量值", add_list_sign = false,mod= all}
,#f_column{type = bstr, name = desc, desc = "描述", mod = client}
]}
]
}.