Files

54 lines
962 B
Erlang
Raw Permalink Normal View History

2026-05-23 22:10:14 +08:00
%%%-------------------------------------------------------------------
%%% @author Administrator
%%% @copyright (C) 2023, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 23. 11月 2023 16:42
%%%-------------------------------------------------------------------
-module(proto_298).
-author("Administrator").
%% API
-export([info/0, cfg/0]).
-include("protocol.hrl").
info() -> {
"一键领取"
,[ "common.hrl"]
}.
-spec cfg() -> [#rpc{}].
cfg() ->[
#rpc{
code = 29800
,log_title = "基本信息"
,req_desc = "基本信息"
,req = [
]
,reply = [
{array, tuple, reward_list, "奖励列表", [
{uint32, id, "ID"}
,{uint32, num, "数量"}
]}
]
}
,#rpc{
code = 29801
,log_title = "一键领取"
,req_desc = "一键领取"
,req = [
]
,reply_desc = "一键领取"
,reply = [
{uint8, code, "结果状态"}
,{string, msg, "结果信息"}
]
}
].