Files
fc/server/tools/gen_data/cfg/action_rank_data.erl
T

37 lines
1.5 KiB
Erlang
Raw Normal View History

2026-05-23 22:10:14 +08:00
%%----------------------------------------------------
%% 数据配置文件
%% @author
%%----------------------------------------------------
-module(action_rank_data).
-export([cfg/0]).
-include("data_config.hrl").
-include("common.hrl").
cfg() ->
#data_cfg{
name = action_rank_data
,lua_name = action_rank_data
,desc = "配置数据"
,source = "action_rank_data.xml"
,target = "action_rank_data.erl"
,inc = []
,callback = [
]
,callback_cli = [
{get, cb_fun_lua, handle, {type_val, ["DATA"], [id], all}}
]
, callback_json =
[
{get, cb_fun_json, handle, {type_val, ["DATA"], [id], all}}
]
,sheet = [
{["DATA"], [
#f_column{type = int, name = id, desc = "活动id", mod = desc}
,#f_column{type = bstr, name = tab_name, desc = "标签页名称(如果活动是单排行榜的,可以不填)", mod = all}
,#f_column{type = int, name = sort_val, desc = "标签页排序", mod = all, val_cli = 1}
,#f_column{type = term, name = title_list, desc = "标题名字(总尺寸660,自己分割)", mod = all, width = 494}
,#f_column{type = bstr, name = first_desc, desc = "第一名显示的内容项", mod = all}
,#f_column{type = int, name = item_type, desc = "客户端子项类型", mod = all}
]}
]
}.