%%%------------------------------------------------------------------- %%% @author Administrator %%% @copyright (C) 2023, %%% @doc %%% %%% @end %%% Created : 12. 12月 2023 19:16 %%%------------------------------------------------------------------- -module(time_limit_data). -author("Administrator"). -export([cfg/0]). -include("data_config.hrl"). -include("common.hrl"). cfg() -> #data_cfg{ name = time_limit_data , lua_name = time_limit_data , desc = "限时礼包配置" , source = "time_limit_data.xml" , target = "time_limit_data.erl" , inc = ["common.hrl"] , callback = [ {info, cb_fun, handle, {tuple_list, ["配置"], all}} ] , callback_cli = [ ] , callback_json = [ ] , sheet = [{["配置"], [#f_column{desc = "id", type = int, name = id, mod = all} , #f_column{desc = "天数", type = int, name = min_day, mod = all} , #f_column{desc = "最大天数", type = int, name = max_day, mod = all} ,#f_column{type = term, name = reward, desc = "奖励", width = 360, mod = all} ] } ] }.