You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
2.7 KiB
TOML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

[service]
name = "WFissionWeb"
desc = "活动站外服务"
[[method]]
name = "GetWebReward"
desc = "抽取站外奖品"
[method.req]
field = [
"string hash_id //活动hash_id",
"string web_id //浏览器唯一id",
]
[method.res]
field = [
"int64 id //奖品id"
]
[[method]]
name = "BindWeb"
desc = "绑定站外活动"
[method.req]
field = [
"string campaign_hash_id //活动id",
"string c_mark //渠道标识",
"string web_id //浏览器唯一id",
"string ip //ip地址",
]
[method.res]
field = [
"int64 id //记录id",
"int64 user_id //绑定的用户id,未绑定未0",
"string download_link //下载也链接",
"bool submit //是否有提交题目",
]
[[method]]
name = "WebReward"
desc = "用户站外奖"
[method.req]
field = [
"string campaign_hash_id //活动id",
"string web_id //浏览器唯一id",
"string uid //关注用户ID",
"string lang //语种标识",
]
[method.res]
field = [
"bool has_reward //是否有奖品",
"string title //奖品名称",
"string img_url //奖品图片",
"string reward_hash_id //领取的用户奖品hash_id",
"int32 receive_type //发放类型(1-系统发放,2-联系客服,4-提交表单)",
"bool is_push //是否已经推给客户",
"repeated KV kv_data //键值对数据",
"int64 reward_id //奖品id",
"string contact //联系方式",
"int32 status //奖品状态(0-可领奖,1-非新下载用户无法领奖)",
"string web_url //web端跳转地址",
"string app_param //app事件参数",
"string pc_param //pc事件参数",
]
[[method.res.message]]
name = "KV"
field = [
"string key //对应字段名",
"string value //对应字段值",
]
[[method]]
name = "WebAnswer"
desc = "用户站外答题"
[method.req]
field = [
"string campaign_hash_id //活动id",
"string web_id //浏览器唯一id",
"repeated Submit submits //提交的答案"
]
[[method.req.message]]
name = "Submit"
field = [
"int64 qid //题目id",
"repeated int64 aid //答案id",
]
[method.res]
field = [
"int64 id //奖品id"
]
[[method]]
name = "AdsUser"
desc = "Ads用户数据"
[method.req]
field = [
"string campaign_hash_id //活动id",
"string web_id //浏览器唯一id",
"string cid //渠道标识",
"string ip //ip地址",
]
[method.res]
field = [
"int64 id //站外用户id",
"int64 reward_id //奖品id",
"string title //奖品名称",
"string img_url //奖品图片",
]
[[method]]
name = "AdsLottery"
desc = "Ads抽奖"
[method.req]
field = [
"int64 id //站外用户id",
"string platform // 手机系统 andriod ios web"
]
[method.res]
field = [
"int64 reward_id //奖品id",
"string title //奖品名称",
"string img_url //奖品图片",
]