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

53 lines
1.6 KiB
Erlang

%%%-------------------------------------------------------------------
%%% @author caocg
%%% @copyright (C) 2021, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 22. 11月 2021 17:45
%%%-------------------------------------------------------------------
-module(recruit_high_data_lang).
-include("data_config.hrl").
-export([cfg/0]).
cfg() ->
#data_cfg{
name = recruit_high_data_lang
, lua_name = recruit_high_data_lang
, desc = ""
, source = "recruit_high_data_lang.xml"
, target = ""
, inc = []
, callback =
[
]
, callback_cli =
[
]
, callback_json =
[
{get, cb_fun_json, handle, {key_val, ["常量"], [key], [val]}}
,{val_arr, cb_fun_json, handle, {key_val, ["文字"], [index], [id, en_str, fr_str, ger_str, viet_str]}}
]
, sheet =
[
{["常量"],
[
#f_column{type = bstr, name = key, desc = "", mod = client}
, #f_column{type = int, name = val, desc = "", mod = client}
, #f_column{type = bstr, name = desc, desc = "说明", mod = client}
]
}
,{["文字"], [
#f_column{type = int, name = index, desc = "序号", mod = client}
,#f_column{type = bstr, name = id, desc = "索引原文CN", mod = client}
,#f_column{type = bstr, name = en_str, desc = "翻译内容EN", mod = client}
,#f_column{type = bstr, name = fr_str, desc = "翻译内容FR", mod = client}
,#f_column{type = bstr, name = ger_str, desc = "翻译内容GER", mod = client}
,#f_column{type = bstr, name = viet_str, desc = "翻译内容VIET", mod = client}
]}
]
}.