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.

4500 lines
150 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 = "WCampaign"
desc = "活动服务"
[[method]]
name = "List"
desc = "活动列表"
[method.req]
field = [
"int32 page //当前页",
"int32 per_page //每页条数",
"int64 project_id //项目id",
"string project_hash_id //项目hash_id",
"string title //活动标题筛选",
"string link //活动链接筛选",
"repeated int32 status //活动状态(1-待发布,2-已发布,3-已下线,4-预发布)",
"repeated int64 fission_id //活动类型标识",
"int64 start //活动时间开始时间戳",
"int64 end //活动时间结束时间戳",
"bool order_by_id //是否id升序",
"repeated int32 targets //活动目标集合",
"int64 updated_start //最后更新时间开始时间戳",
"int64 updated_end //最后更新时间结束时间戳",
]
[method.res]
field = [
"repeated One list //列表数据",
"int64 total //列表总数"
]
[[method.res.message]]
name = "One"
field = [
"int64 id //活动ID",
"string hash_id //活动对外id",
"string title //活动标题",
"string cover_url //活动封面",
"string temp_group_mark //模版组标识",
"string temp_hash_id //模版hash_id",
"int64 fission_id //玩法ID",
"string fission_mark //活动类型玩法标识",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"string share_link //分享链接",
"int64 visitor_num //访问人数",
"int64 download_num //新增下载数",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线,4-预发布)",
"string view_link //预览地址",
"int32 t_offset //时间偏移量",
"repeated int32 lang_types //支持的语种",
"int32 temp_lang_type //模版支持语言",
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存;4-w2a互动广告)",
"int32 has_web //是否有站外活动(0-否,1-是)",
"int32 has_warm_up //是否开启预热(0-否,1-是)",
"int64 pre_run_time //预发布转正式发布时间戳",
"int32 ads_type //广告状态(0-不启用广告,1-跟随项目配置,2-活动开启)",
"bool new_report //是否使用新报表",
"repeated LangTz lang_tz //语言时区数据是",
"int64 created_at //创建时间",
"repeated string while_list //白名单用户id列表",
"int64 updated_at //更新时间",
"repeated Channel channel_list //渠道列表",
"repeated Cond cond_list //任务列表",
"string creator_name //活动创建者在后台的名称",
"string creator_account //活动创建者在后台的登陆账号",
]
[[method.res.message]]
name = "LangTz"
field = [
"string lang_mark //对应语言标识",
"int32 t_offset //时间偏移量",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线,4-预发布)",
"int32 lang_type //语言数字标识",
]
[[method.res.message]]
name = "Channel"
field = [
"string title // 渠道标题",
"string url // 渠道链接",
"int32 c_type // 渠道类型(1-站内渠道,2-站外渠道)",
]
[[method.res.message]]
name = "Cond"
field = [
"string event //事件",
"string key //事件key",
"string val //事件key对应的值",
]
[[method]]
name = "Share"
desc = "社媒选项"
[method.req]
[method.res]
field = [
"repeated One loc //国内",
"repeated One over_sea //国外",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //活动ID",
"string title //标题",
"string logo //图标",
"string scheme //Scheme",
"string ios_scheme //ios Scheme",
]
[[method]]
name = "Status"
desc = "修改状态"
[method.req]
field = [
"int64 id //活动ID",
"string hash_id //活动对外id",
"int32 status //发布状态(2-已发布,3-已下线,4-预发布)",
"int64 pre_run_time //预发布转正式发布时间戳",
]
[method.res]
[[method]]
name = "Destroy"
desc = "删除活动"
[method.req]
field = [
"int64 id //活动ID",
"string hash_id //活动对外id",
"int32 status //发布状态(2-已发布,3-已下线)",
]
[method.res]
[[method]]
name = "Store"
desc = "创建活动"
[method.req]
field = [
"string project_id //项目id",
"string template_id //模版id",
"int64 user_id //员工id",
"string title //活动标题",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"string cover_url //活动封面图",
"Config config //活动基础配置",
"repeated KV campaign_data //前端组件位置偏移数据",
"LotteryConfig prize_wheel //大转盘配置(大转盘玩法必传)",
"LotteryConfig slot //老虎机配置(老虎机玩法必传)",
"LotteryConfig blind //盲盒配置(盲盒玩法必传)",
"LotteryConfig grid //九宫格配置(九宫格玩法必传)",
"InviteConfig referral //老带新配置(老带新玩法必传)",
"QuestionAnswer question_answer //趣味问答配置(趣味问答玩法必传)",
"Quiz quiz //有奖竞猜配置(有奖竞猜玩法必传)",
"InviteConfig win //一起赢配置(一起赢玩法必传)",
"int32 t_offset //时间偏移量",
"Target target //活动目标",
"Sign sign //签到配置(签到玩法必传)",
"Dice dice //大富翁配置(大富翁玩法必传)",
"Grow grow //农场配置(农场玩法必传)",
"Ballot ballot //抽签配置(抽签玩法必传)",
"Chop chop //砍一刀配置(砍一刀玩法必传)",
"repeated KV delay_link_data //延迟深度链接自定义键值数据",
"Rewards rewards //站内奖品",
"repeated Reward rewards_web //站外奖品",
"repeated Reward rewards_extra //额外奖品",
"repeated Reward rewards_newcomer //新人奖",
"TargetOption target_option //目标配置选项",
"Cash cash //现金抽奖配置(现金抽奖玩法必传)",
"repeated LongImg long_imgs //长图配置",
"Flip flip //翻牌配置(翻牌玩法必传)",
"string copy_campaign_id //复制的活动id",
"Keep keep_dog //养狗(养狗配置必传)",
"string ip //操作ip",
"Push push //推送配置",
"repeated Child child //关联的子活动",
"WheelStyle wheel_style //转盘自定义样式",
"Gold gold //金币任务配置(金币任务玩法必传)",
"Coin coin //金币池配置(金币池玩法必传)",
"GridStyle grid_style //九宫格自定义样式",
"FlipStyle flip_style //翻牌自定义样式",
"PointsUse points_use //积分消耗",
"Chat chat //ai陪伴",
"Vs vs //赛事竞猜配置(赛事竞猜玩法必传)",
"Uno uno //uno卡牌配置(uno卡牌玩法必传)",
"Event event //事件配置(活动事件)",
"LotteryConfig gashapon //扭蛋机配置(扭蛋机玩法必传)",
"GashaponStyle gashapon_style //扭蛋机自定义样式",
]
[[method.req.message]]
name = "GashaponStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string machine_img //机器图",
"string play_img //Go按钮图",
"int32 egg_type //类型",
"repeated string egg_imgs //扭蛋素材",
]
[[method.req.message]]
name = "Event"
field = [
"EventOne first_visit //首次访问",
]
[[method.req.message]]
name = "EventOne"
field = [
"int32 open //是否开启",
"repeated EventReward rewards //奖励"
]
[[method.req.message]]
name = "EventReward"
field = [
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品,point-积分)",
"Reward reward //奖品",
"int32 chance //道具数量",
"string expired_day //过期天数",
]
[[method.req.message]]
name = "Uno"
field = [
"int32 init_chance //初始抽奖次数",
"repeated string prop_marks //道具类型(three - +3道具牌,five - +5道具牌,fix - 固定颜色道具牌)",
"UnoGroup red //红牌配置",
"UnoGroup yellow //黄牌配置",
"UnoGroup blue //黑牌配置",
"UnoGroup green //绿牌配置",
]
[[method.req.message]]
name = "UnoGroup"
field = [
"string odds //获得牌型概率",
"Reward reward //奖品",
"int32 open_rule //是否开启得牌规则(0-否,1-是)",
"UnoLimitRule limit_rule //得牌规则",
"int32 custom_card //自定义卡牌(0-否,1-是)",
"repeated UnoCard cards //自定义卡牌",
]
[[method.req.message]]
name = "UnoLimitRule"
field = [
"int32 init_num //初始的最大可获得牌型数",
"int32 sign_day //签到天数",
"int32 add_num //完成条件可获得最大牌型数",
"int32 reset_type //重置规则(1-不重置,2-获奖后重置)",
]
[[method.req.message]]
name = "UnoCard"
field = [
"string title //跳转按钮文案",
"string img_url //图片地址",
"string web_url //Web跳转地址",
"string app_param //App跳转参数",
"string pc_param //pc跳转参数",
]
[[method.req.message]]
name = "Vs"
field = [
"int32 init_chance //初始投票次数",
"int32 each_limit_num //每场可投票次数",
"int32 open_point //是否开启积分(0-否,1-是)",
"int32 points_num //投票扣除积分数",
"int32 mall_open //是否使用积分商城(0-否,1-是)",
"int64 mall_id //兑换商城id",
"int32 vs_tz //比赛时区",
"int32 claim_type //领奖方式(1-结算后自动发奖,2-结算后进入活动后发奖,3-结算后手动领奖)",
"repeated Schedule schedules //赛事时间表",
"string icon_mall //商城图标",
"string icon_reward //奖励记录图标",
"string icon_schedule //赛程图标",
]
[[method.req.message]]
name = "Schedule"
field = [
"repeated PkTeam pk_teams //队伍",
]
[[method.req.message]]
name = "PkTeam"
field = [
"repeated Team teams //队伍",
"string vote_start //开始时间",
"string vote_end //结束时间",
"string vs_date //比赛开始时间",
"string vs_img //比赛图",
"string desc //标题描述",
"string prop_mark //奖励的道具类型(reward-奖品,point-积分)",
"int64 reward_id //奖品库奖品id",
"int32 prop_num //道具数量",
"string expired_day //过期天数",
"repeated string other_vote //其他投票方式",
"int32 open_odds //是否开启赔率(0-否,1-是)",
"string odds_left //左边赔率",
"string odds_right //右边赔率",
"string odds_draw //平局赔率",
]
[[method.req.message]]
name = "Team"
field = [
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.req.message]]
name = "Chat"
field = [
"int32 open //开启ai陪伴(0-关闭,1-开启)",
"string header_img //宠物头像",
"string chat_bg //聊天背景",
"int32 day_limit //每日聊天上限",
]
[[method.req.message]]
name = "PointsUse"
field = [
"int32 open //是否开启积分消耗(0-否,1-是)",
"string icon //积分icon图",
"int64 url_id //回调地址id",
"int32 use_num //单次兑换使用积分数量",
"int32 day_limit //每日可兑换次数",
"int32 total_limit //总兑换次数",
]
[[method.req.message]]
name = "FlipStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string button_color //按钮颜色",
"string play_img //Go按钮图",
"string card_img //卡片素材",
]
[[method.req.message]]
name = "GridStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string button_color //按钮颜色",
"string play_img //Go按钮图",
"string disable_play_img //Go按钮禁用",
"string machine_img //机器图",
"string grid_img //方格图",
"string activate_img //方格激活图",
]
[[method.req.message]]
name = "WheelStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string bottom1 //底部颜色1",
"string bottom2 //底部颜色2",
"string bottom3 //底部颜色3",
"string pointer //指针图片",
"string play_btn //玩法按钮图片",
"string border_img //边框图片",
"string button_color //按钮颜色",
"string wheel_text_color //转盘文字颜色",
]
[[method.req.message]]
name = "Child"
field = [
"string hash_id //活动hash_id",
"int32 child_type //子活动类型",
]
[[method.req.message]]
name = "Config"
field = [
"string rule_text_color //规则文字颜色",
"string rule_bg_color //规则背景颜色",
"string share_text //分享文案",
"string share_img //分享图片",
"int32 has_rank //是否展示中奖纪录(1-是,0-否)",
"string rank_background_color //排行榜背景颜色",
"string rank_text_color //排行榜背景颜色",
"string download_page_image //下载引导页的图片",
"int32 is_default_download //是否使用默认下载图(1-是,0-否)",
"string wechat_page_image //微信引导页的图片",
"int32 is_default_wechat //是否使用默认微信引导图(1-是,0-否)",
"string image_main //活动主图",
"int32 is_default_main //是否使用默认活动主图(1-是,0-否)",
"string image_preview //问题页背景图",
"string link_btn_text_color //分享链接按钮文字颜色",
"string link_btn_bg_color //分享链接按钮背景颜色",
"string link_text_color //分享链接文字颜色",
"int32 show_share //是否显示分享社交媒体(0-否,1-是)",
"repeated int64 share //要分享的社交媒体,例如[1,2,3]",
"string play_rule //玩法规则",
"string page_title //页面标题",
"int32 dm_show //是否显示弹幕(0-否,1-是)",
"string web_bg_img //站外活动背景图",
"int32 has_warm_up //是否预热(0-否,1-是)",
"string warm_up_img //预热海报图",
"int32 warm_up_end //活动开始前多少分钟结束预热",
"int32 icon_type //活动挂件类型(用于前端挂件选用判断)",
"string icon_bg_color //活动挂件背景色",
"int32 dl_type //下载引导页类型(1-通用,2-自定义多媒体)",
"int32 dl_banner_type //下载页横幅类型(1-默认,2-自定义)",
"string dl_banner_img //下载页横幅自定义图",
"string dl_banner_app_logo //下载页横幅applogo图片",
"string dl_banner_app_name //下载页横幅app名称",
"string dl_banner_app_btn //下载页横幅app按钮文案",
"int32 dl_banner_position //下载页横幅位置(1-顶部,2-底部)",
"string topic_color //主题色",
"int32 window_cover //是否显示弹幕(0-否,1-是)",
"repeated int32 icon_open //开启的挂件(1-奖品列表,2-邀请记录,3-奖励记录,4-邀请好友),例如[1,3]",
"int32 has_white //是否开启白名单(0-否,1-是)",
"string white_list //白名单列表(多个用英文;分割)",
"string pc_bg //pc适配背景图",
"int32 ads_type //广告状态(0-不启用广告,1-跟随项目配置,2-活动开启)",
"string link_temp_id //链接模板id",
"int32 rule_time_open //是否展示规则中的活动时间(0-否,1-是)",
"int32 outside_task //是否外显任务(0-否,1-是)",
"string icon_text_color //活动挂件字体色",
"int32 open_share //是否启用分享模块(0-否,1-是)",
"int32 show_to_use //是否展示奖品弹窗的去使用(0-不展示,1-展示)",
"int32 rule_type //规则展示类型(0-文本,1-图片)",
"string rule_img //规则展示图",
"int32 rule_outside //规则是否外显(0-否,1-是)",
"int32 device_once //设备唯一(0-否,1-是)",
]
[[method.req.message]]
name = "LongImg"
field = [
"string img_url //图片地址",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"int32 click_type //点击类型(1-整图点击,2-区域点击)",
"repeated HotZone hot_zone //点击区域",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
]
[[method.req.message]]
name = "HotZone"
field = [
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"double click_x //点击区域x",
"double click_y //点击区域y",
"double click_w //点击区域w",
"double click_h //点击区域h",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
]
[[method.req.message]]
name = "Target"
field = [
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)",
"int32 option //标选择类型(1-app下载/注册;2-好友完成指定事件;3-指定事件达标;4-拉充值/积分消耗;5-用户指定事件达标)",
"int32 app_event //目标选择类型为1(option=1)的选项(1-安装;2-注册)",
"int32 both_type //满足条件(1-所有条件满足,2-任一条件满足)",
"repeated Cond cond //达标条件",
"BothAll both_all //满足条件为所有条件满足要提交的数据",
"NormalData normal_data //通用事件的数据",
]
[[method.req.message]]
name = "Cond"
field = [
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"string desc //条件描述",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 view_type //广告观看路径(1-APP内,2-APP外)",
"repeated string lang_marks //限制的语言集合",
"int32 watch_sec //观看秒数",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"int32 go_show //是否显示“去完成按钮”(0-否,1-是)",
"string ads_strategy_id //策略id",
"int32 is_super //是否超级任务(0-否,1-是)",
"int32 has_pre //是否有前置条件(0-否,1-是)",
"int32 pre_cond //前置任务(1-点击任务icon,2-完成1个任务后,3-完成2个任务后,4-进入活动30秒后)",
"int32 expired_min //过期分钟数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品,point-积分)",
"int32 sort //排序",
"int32 open_push //是否开启完成推送(0-否,1-是)",
"string pc_param //pc端附加参数",
"int32 award_mode //领奖模式(1-自动领奖,2-手动领奖)",
"string go_text //去完成文案",
"int32 click_effect_open //是否开启点击有效(0-否,1-是)",
"int32 click_effect //点击有效值",
"string click_effect_unit //点击有效单位(min-分钟,hour-小时,day-天)",
"string expired_day //过期天数",
"int32 pull_invite //是否拉起邀请(0-否,1-是)",
]
[[method.req.message]]
name = "BothAll"
field = [
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"repeated string lang_marks //限制的语言集合",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"string expired_day //过期天数",
]
[[method.req.message]]
name = "NormalData"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标获得的数量(如:骰子数)",
"int32 chance_limit //最大获得数量(如:最大骰子数)",
]
[[method.req.message]]
name = "TargetOption"
field = [
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)",
"Fixed fixed //固定事件",
"Custom custom //自定义事件",
]
[[method.req.message]]
name = "Fixed"
field = [
"int32 open //是否开启(0-否,1-是)",
"int32 app_event //固定事件类型(1-安装;2-注册)",
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标获得的数量(如:骰子数)",
"int32 chance_limit //最大获得数量(如:最大骰子数)",
"double percent //百分比值(如:获得的能量点)",
]
[[method.req.message]]
name = "Custom"
field = [
"int32 open //是否开启(0-否,1-是)",
"int32 both_type //满足条件(1-所有条件满足,2-任一条件满足)",
"repeated Cond cond //达标条件",
"BothAll both_all //满足条件为所有条件满足要提交的数据",
"int32 pre_event //自定义事件前置事件(0-任意事件;1-安装;2-注册)",
]
[[method.req.message]]
name = "KV"
field = [
"string key //对应字段名",
"string value //对应字段值",
]
[[method.req.message]]
name = "Reward"
field = [
"int64 reward_id //奖品库的奖品id",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"int32 odds //中奖率",
"string jump_url //跳转地址",
"int32 campaign_limit //活动内单个用户可获取该奖品次数",
"int32 register //开启注册助力(0-否,1-是)",
"double register_percent //每个注册获得的进度比率",
"double init_percent //初始助力进度",
"CollectRule collect_rule //收集规则",
"string expired_day //过期天数",
"OpenAdd open_add //库存增加规则",
"RewardTask reward_task //解锁任务",
]
[[method.req.message]]
name = "RewardTask"
field = [
"int32 open //是否开启(0-否,1-是)",
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 open_push //是否开启完成推送(0-否,1-是)",
]
[[method.req.message]]
name = "OpenAdd"
field = [
"int32 open //开启动态库存规则(0-否,1-是)",
"int64 start //开始时间",
"int64 end //结束时间",
"int32 day_num //天数",
"int32 day_add //增加的库存量",
]
[[method.req.message]]
name = "CollectRule"
field = [
"int32 open //开启碎片规则(0-否,1-是)",
"int32 init_collect //初始的最大可获得碎片数",
"int32 sign_day //签到天数",
"int32 add_collect //完成条件可获得最大碎片数",
"int32 reset_type //重置碎片规则(1-不重置,2-获奖后重置)",
]
[[method.req.message]]
name = "Rewards"
field = [
"int32 reward_group //奖品分组类型(1-常规奖品,2-用户类型奖品,3-语言奖品,4-语言+用户类型奖品,5-国家奖品)",
"repeated Reward normal //常规奖品",
"UserLevel user_level //用户类型奖品",
"repeated Lang langs //语言奖品",
"repeated LangUserLevel lang_user_level //语言+用户类型奖品",
"Country country //国家奖品",
]
[[method.req.message]]
name = "UserLevel"
field = [
"int64 default_level_id //默认用户类型id",
"repeated UserLevelOne level_list //用户类型奖品",
]
[[method.req.message]]
name = "UserLevelOne"
field = [
"int64 level_id //用户类型id",
"repeated Reward rewards //奖品",
]
[[method.req.message]]
name = "Lang"
field = [
"string lang_mark //语言标识",
"repeated Reward rewards //奖品",
]
[[method.req.message]]
name = "LangUserLevel"
field = [
"string lang_mark //语言标识",
"int64 default_level_id //默认用户类型id",
"repeated UserLevelOne level_list //用户类型奖品",
]
[[method.req.message]]
name = "Country"
field = [
"string default_country_mark //默认国家",
"repeated CountryOne country_list //国家的奖品",
]
[[method.req.message]]
name = "CountryOne"
field = [
"string country_mark //国家标识",
"repeated Reward rewards //奖品",
]
[[method.req.message]]
name = "QaQuestion"
field = [
"string title //题目",
"int32 score //得分",
"repeated QaOption options //选项",
]
[[method.req.message]]
name = "QaOption"
field = [
"string title //答案内容",
"int32 is_right //是否正确答案(1-是,0-否)",
]
[[method.req.message]]
name = "QuizOption"
field = [
"string title //选项标题",
"string img_url //选项图片",
"int32 is_right //是否正确选项(1-是,0-否)",
]
[[method.req.message]]
name = "Quiz"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 init_chance //初始答题机会次数",
"int32 chance //达标获得的答题机会次数",
"int32 reward_rule //奖励规则(1-投票结果排名,2-自定义竞猜结果)",
"int64 open_prize //开奖时间",
"string title //选择标题",
"repeated QuizOption options //有奖竞猜选项",
]
[[method.req.message]]
name = "QuestionAnswer"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标条件后可获取的答题次数",
"int32 init_chance //初始答题机会次数",
"int32 question_ask_time //答题时间限制(单位:S,如:1 就是1秒)",
"repeated QaQuestion questions //题目",
"string group_hash_id //题库对外id",
"int32 qa_num //题库选取数量",
"int32 day_chance //每日签到获得的答题数",
"int32 open_guide //是否开启引导(0-否,1-是)",
"string guide_group_hash_id //引导组hash_id",
]
[[method.req.message]]
name = "LotteryConfig"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 init_chance //初始抽奖机会次数",
"int32 chance //达标获得的抽奖机会次数",
"int32 day_chance //每日获得的抽奖机会次数",
]
[[method.req.message]]
name = "InviteConfig"
field = [
"int32 reward_limit //活动总奖励上限",
"int32 reward_rule //用户奖励规则(1-阶梯,2-非阶梯)",
"int32 invite_limit //邀请超过多少人不能再获得奖励",
"int32 newcomer_cond //新人条件(1-新安装,2-助力成功,3-新安装且助力成功)",
"int32 step_loop //阶梯是否支持循环(0-不支持,1-支持)",
]
[[method.req.message]]
name = "Sign"
field = [
"int32 sign_type //签到类型(1-普通签到,2-阶梯签到)",
"int32 is_continue //是否连续签到(1-是,0-否)",
"int32 has_card //是否开启签到卡(1-开启,0-不开启)",
"int32 invite_num //邀请好友数可获得的1张签到卡",
"int32 limit_card_num //可获得幸运卡的最大张数",
"int32 is_loop //是否支持循环(0-否,1-是)",
"int32 sign_cycle //签到周期",
"int32 recycle_type //重新签到模式(1-断签重签,2-周期重签)",
"string color //签到主题颜色",
]
[[method.req.message]]
name = "Dice"
field = [
"int32 init_chance //初始骰子数",
"int32 day_chance //每日获得的骰子数",
"int32 fix_dice //开启固定骰子(0-不开启,1-开启)",
"int32 fix_dice_target //获得固定骰子需要邀请的人数",
"int32 fix_dice_limit //固定骰子限制获取数",
"string custom_dice //自定义骰子图片",
"int32 open_map_point //开启自定义底座(0-不开启,1-开启)",
"MapPoint map_point //自定义底座数据",
"int32 award_type //奖品碎片收集方式(1-随机收集,2-概率收集)",
"int32 open_invite //开启邀请挂件(0-关闭,1-开启)",
"int32 roll_again //开启再摇一次(0-关闭,1-开启)",
"int32 fix_dice_cond //邀请事件(1-安装,2-注册)",
"int32 odds //概率收集方式的中奖概率",
"string play_img //play按钮图",
"string cloud_img //云朵图",
]
[[method.req.message]]
name = "MapPoint"
field = [
"string blank //空白底座",
"string again //再摇一次底座",
"string normal //普通奖品底座",
"string supper //超级大奖底座",
]
[[method.req.message]]
name = "Grow"
field = [
"int32 auto_hour //自动生产成长道具小时数",
"int32 auto_num //生产的成长道具数",
"int32 grow_num //邀请可获得的成长道具数量",
"int32 target_num //获得成长道具需要邀请的人数",
"int32 revive //是否支持复活(0-否,1-是)",
"int32 revive_num //复活需要邀请的好友数",
"int32 die_hour //未获得成长道具导致的死亡时间",
"repeated GrowStep steps //成长阶段",
"int32 init_num //初始成长道具数量",
]
[[method.req.message]]
name = "GrowStep"
field = [
"int32 num //需要的养成道具数量",
]
[[method.req.message]]
name = "Ballot"
field = [
"int32 init_chance //初始抽签数",
"int32 day_chance //每日获得的抽签数",
]
[[method.req.message]]
name = "Chop"
field = [
"int32 show_bar //是否展示进度条(0-否,1-是)",
]
[[method.req.message]]
name = "Cash"
field = [
"int32 expired_day //任务重置天数",
"int32 price //单位奖品总价值",
"int32 price_num //奖品总份额",
"int32 currency //货币id标识",
"int32 loop_num //支持循环次数",
]
[[method.req.message]]
name = "Flip"
field = [
"int32 init_chance //初始抽奖机会次数",
"string card_img //卡牌图片",
"int32 day_chance //每日获得的抽奖机会次数",
]
[[method.req.message]]
name = "Keep"
field = [
"int32 collect //获得最终奖品需要的总收集数",
"int32 collect_second //单个收集需要的二级资源数",
"int32 open_invite //开启邀请(0-关闭,1-开启)",
"Invite invite //拉新配置",
"int32 init_get //初始道具数",
"double sec_get //每秒获得道具数",
"int32 feed_num //每次使用道具数",
"int32 feed_cycle //喂养周期(单位:天)",
"int32 max_feed //最大可领养次数",
"int32 feed_get //喂养能得到的道具数",
"int32 feed_get_num //得到喂养道具需要的喂养次数",
"repeated Talk talk_text //对话文案",
"repeated KeepStep steps //养成阶梯",
"double sec_get_day_limit //每秒获得道具每日上限",
"int32 machine_type //狗粮机类型(1-在线收益,2-离线收益)",
"int32 offline_min //离线分钟时长",
"int32 offline_get //离线收益最大值",
"int32 offline_limit //离线收益最大领取次数",
]
[[method.req.message]]
name = "Invite"
field = [
"int32 invite_type //邀请类型(1-下载,2-安装)",
"int32 invite_get //邀请可获得的道具数量",
"int32 reward_selected //选择礼品可获得的道具数",
"int32 feed_third //喂养3次可获得的道具数",
"int32 day_first_invite //是否开启每日首次拉新(0-否,1-是)",
"int32 day_first_get //每日首次拉新可获得的道具数",
"int32 day_first_selected //每日首日选择礼物可获得的道具数",
"int32 day_first_third //每日首次喂养三次可获得的道具数",
"int32 invite_max_get //邀请人可获得的最大道具数",
]
[[method.req.message]]
name = "Talk"
field = [
"int32 text_type //话术逻辑(1-进入活动时,2-20秒没有投喂时,3-50秒没有投喂时,4-存储的狗粮能投喂5次时)",
"string content //内容",
]
[[method.req.message]]
name = "KeepStep"
field = [
"int32 step //阶段",
"int32 percent //对应的进度条数值",
"int32 reward_type //奖品类型(1-成长道具,2-奖品)",
"Reward reward //奖品数据时",
"int32 reward_num //发放道具数量",
]
[[method.req.message]]
name = "Push"
field = [
"PushOne task_reset // 重制提醒",
"PushOne active //活跃提醒",
"PushOne offline //离线提醒",
"PushOne visit //访问提醒",
]
[[method.req.message]]
name = "PushOne"
field = [
"int32 open //是否开启",
"repeated PushCond push_cond //条件内容"
]
[[method.req.message]]
name = "PushCond"
field = [
"string mark //条件标识",
"string val // 标识值 "
]
[[method.req.message]]
name = "Gold"
field = [
"int32 gold_num //任务重置天数",
"int32 expired_day //任务重置天数",
"double price //单位奖品总价值",
"int32 price_num //奖品总份额",
"int32 currency //货币id标识",
]
[[method.req.message]]
name = "Coin"
field = [
"string coin_img //金币图片",
"int32 open_days //开奖天数",
"int32 open_limit //开奖次数限制",
"int32 init_coin //初始金币数",
"int32 init_use //初始投放次数",
"int32 use_coin //单次投放消耗金币数",
"int32 use_limit //单次瓜分最多投放次数",
"int64 url_id //回调地址id",
"repeated int32 lack_btn //金币不足展示的按钮(1-做任务,2-自定义按钮)[1,2]",
"string custom_btn_text //自定义按钮文案",
"string custom_web_url //自定义web端url",
"string custom_extra_param //自定义app附加参数",
"string custom_pc_param //自定义pc附加参数",
]
[method.res]
field = [
"int64 id //id",
"string hash_id //活动id",
]
[[method]]
name = "Update"
desc = "更新活动"
[method.req]
field = [
"int64 id //id",
"string hash_id //活动id",
"string title //活动标题",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"string cover_url //活动封面图",
"Config config //活动基础配置",
"repeated KV campaign_data //前端组件位置偏移数据",
"LotteryConfig prize_wheel //大转盘配置(大转盘玩法必传)",
"LotteryConfig slot //老虎机配置(老虎机玩法必传)",
"LotteryConfig blind //盲盒配置(盲盒玩法必传)",
"LotteryConfig grid //九宫格配置(九宫格玩法必传)",
"InviteConfig referral //老带新配置(老带新玩法必传)",
"QuestionAnswer question_answer //趣味问答配置(趣味问答玩法必传)",
"Quiz quiz //有奖竞猜配置(有奖竞猜玩法必传)",
"InviteConfig win //一起赢配置(一起赢玩法必传)",
"int32 t_offset //时间偏移量",
"Target target //活动目标",
"Sign sign //签到配置(签到玩法必传)",
"Dice dice //大富翁配置(大富翁玩法必传)",
"Grow grow //农场配置(农场玩法必传)",
"Ballot ballot //抽签配置(抽签玩法必传)",
"Chop chop //砍一刀配置(砍一刀玩法必传)",
"repeated KV delay_link_data //延迟深度链接自定义键值数据",
"Rewards rewards //站内奖品",
"repeated Reward rewards_web //站外奖品",
"repeated Reward rewards_extra //额外奖品",
"repeated Reward rewards_newcomer //新人奖",
"int64 user_id //id",
"string ip //操作ip",
"TargetOption target_option //目标配置选项",
"Cash cash //现金抽奖配置(现金抽奖玩法必传)",
"repeated LongImg long_imgs //长图配置",
"Flip flip //翻牌配置(翻牌玩法必传)",
"Keep keep_dog //养狗(养狗配置必传)",
"Push push //推送配置",
"repeated Child child //关联的子活动",
"WheelStyle wheel_style //转盘自定义样式",
"Gold gold //金币任务配置(金币任务玩法必传)",
"Coin coin //金币池配置(金币池玩法必传)",
"GridStyle grid_style //九宫格自定义样式",
"FlipStyle flip_style //翻牌自定义样式",
"PointsUse points_use //积分消耗",
"Chat chat //ai陪伴",
"Vs vs //赛事竞猜配置(赛事竞猜玩法必传)",
"Uno uno //uno卡牌配置(uno卡牌玩法必传)",
"Event event //事件配置(活动事件)",
"LotteryConfig gashapon //扭蛋机配置(扭蛋机玩法必传)",
"GashaponStyle gashapon_style //扭蛋机自定义样式",
]
[[method.req.message]]
name = "GashaponStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string machine_img //机器图",
"string play_img //Go按钮图",
"int32 egg_type //类型",
"repeated string egg_imgs //扭蛋素材",
]
[[method.req.message]]
name = "Event"
field = [
"EventOne first_visit //首次访问",
]
[[method.req.message]]
name = "EventOne"
field = [
"int32 open //是否开启",
"repeated EventReward rewards //奖励"
]
[[method.req.message]]
name = "EventReward"
field = [
"int64 id //id",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品,point-积分)",
"Reward reward //奖品",
"int32 chance //道具数量",
"string expired_day //过期天数",
]
[[method.req.message]]
name = "Uno"
field = [
"int32 init_chance //初始抽奖次数",
"repeated string prop_marks //道具类型(three - +3道具牌,five - +5道具牌,fix - 固定颜色道具牌)",
"UnoGroup red //红牌配置",
"UnoGroup yellow //黄牌配置",
"UnoGroup blue //黑牌配置",
"UnoGroup green //绿牌配置",
]
[[method.req.message]]
name = "UnoGroup"
field = [
"int64 id //牌型id",
"string odds //获得牌型概率",
"Reward reward //奖品",
"int32 open_rule //是否开启得牌规则(0-否,1-是)",
"UnoLimitRule limit_rule //得牌规则",
"int32 custom_card //自定义卡牌(0-否,1-是)",
"repeated UnoCard cards //自定义卡牌",
]
[[method.req.message]]
name = "UnoLimitRule"
field = [
"int32 init_num //初始的最大可获得牌型数",
"int32 sign_day //签到天数",
"int32 add_num //完成条件可获得最大牌型数",
"int32 reset_type //重置规则(1-不重置,2-获奖后重置)",
]
[[method.req.message]]
name = "UnoCard"
field = [
"int64 id //牌id",
"string title //跳转按钮文案",
"string img_url //图片地址",
"string web_url //Web跳转地址",
"string app_param //App跳转参数",
"string pc_param //pc跳转参数",
]
[[method.req.message]]
name = "Vs"
field = [
"int32 init_chance //初始投票次数",
"int32 each_limit_num //每场可投票次数",
"int32 open_point //是否开启积分(0-否,1-是)",
"int32 points_num //投票扣除积分数",
"int32 mall_open //是否使用积分商城(0-否,1-是)",
"int64 mall_id //兑换商城id",
"int32 vs_tz //比赛时区",
"int32 claim_type //领奖方式(1-结算后自动发奖,2-结算后进入活动后发奖,3-结算后手动领奖)",
"repeated Schedule schedules //赛事时间表",
"string icon_mall //商城图标",
"string icon_reward //奖励记录图标",
"string icon_schedule //赛程图标",
]
[[method.req.message]]
name = "Schedule"
field = [
"repeated PkTeam pk_teams //队伍",
]
[[method.req.message]]
name = "PkTeam"
field = [
"int64 id //赛程id",
"repeated Team teams //队伍",
"string vote_start //开始时间",
"string vote_end //结束时间",
"string vs_date //比赛开始时间",
"string vs_img //比赛图",
"string desc //标题描述",
"string prop_mark //奖励的道具类型(reward-奖品,point-积分)",
"int64 reward_id //奖品库奖品id",
"int32 prop_num //道具数量",
"string expired_day //过期天数",
"repeated string other_vote //其他投票方式",
"int32 open_odds //是否开启赔率(0-否,1-是)",
"string odds_left //左边赔率",
"string odds_right //右边赔率",
"string odds_draw //平局赔率",
]
[[method.req.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.req.message]]
name = "Chat"
field = [
"int32 open //开启ai陪伴(0-关闭,1-开启)",
"string header_img //宠物头像",
"string chat_bg //聊天背景",
"int32 day_limit //每日聊天上限",
]
[[method.req.message]]
name = "PointsUse"
field = [
"int32 open //是否开启积分消耗(0-否,1-是)",
"string icon //积分icon图",
"int64 url_id //回调地址id",
"int32 use_num //单次兑换使用积分数量",
"int32 day_limit //每日可兑换次数",
"int32 total_limit //总兑换次数",
]
[[method.req.message]]
name = "FlipStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string button_color //按钮颜色",
"string play_img //Go按钮图",
"string card_img //卡片素材",
]
[[method.req.message]]
name = "GridStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string button_color //按钮颜色",
"string play_img //Go按钮图",
"string disable_play_img //Go按钮禁用",
"string machine_img //机器图",
"string grid_img //方格图",
"string activate_img //方格激活图",
]
[[method.req.message]]
name = "WheelStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string bottom1 //底部颜色1",
"string bottom2 //底部颜色2",
"string bottom3 //底部颜色3",
"string pointer //指针图片",
"string play_btn //玩法按钮图片",
"string border_img //边框图片",
"string button_color //按钮颜色",
"string wheel_text_color //转盘文字颜色",
]
[[method.req.message]]
name = "Child"
field = [
"string hash_id //活动hash_id",
"int32 child_type //子活动类型",
]
[[method.req.message]]
name = "Config"
field = [
"string rule_text_color //规则文字颜色",
"string rule_bg_color //规则背景颜色",
"string share_text //分享文案",
"string share_img //分享图片",
"int32 has_rank //是否展示中奖纪录(1-是,0-否)",
"string rank_background_color //排行榜背景颜色",
"string rank_text_color //排行榜背景颜色",
"string download_page_image //下载引导页的图片",
"int32 is_default_download //是否使用默认下载图(1-是,0-否)",
"string wechat_page_image //微信引导页的图片",
"int32 is_default_wechat //是否使用默认微信引导图(1-是,0-否)",
"string image_main //活动主图",
"int32 is_default_main //是否使用默认活动主图(1-是,0-否)",
"string image_preview //问题页背景图",
"string link_btn_text_color //分享链接按钮文字颜色",
"string link_btn_bg_color //分享链接按钮背景颜色",
"string link_text_color //分享链接文字颜色",
"int32 show_share //是否显示分享社交媒体(0-否,1-是)",
"repeated int64 share //要分享的社交媒体,例如[1,2,3]",
"string play_rule //玩法规则",
"string page_title //页面标题",
"int32 dm_show //是否显示弹幕(0-否,1-是)",
"string web_bg_img //站外活动背景图",
"int32 has_warm_up //是否预热(0-否,1-是)",
"string warm_up_img //预热海报图",
"int32 warm_up_end //活动开始前多少分钟结束预热",
"int32 icon_type //活动挂件类型(用于前端挂件选用判断)",
"string icon_bg_color //活动挂件背景色",
"int32 dl_type //下载引导页类型(1-通用,2-自定义多媒体)",
"int32 dl_banner_type //下载页横幅类型(1-默认,2-自定义)",
"string dl_banner_img //下载页横幅自定义图",
"string dl_banner_app_logo //下载页横幅applogo图片",
"string dl_banner_app_name //下载页横幅app名称",
"string dl_banner_app_btn //下载页横幅app按钮文案",
"int32 dl_banner_position //下载页横幅位置(1-顶部,2-底部)",
"string topic_color //主题色",
"int32 window_cover //是否显示弹幕(0-否,1-是)",
"repeated int32 icon_open //开启的挂件(1-奖品列表,2-邀请记录,3-奖励记录,4-邀请好友),例如[1,3]",
"int32 has_white //是否开启白名单(0-否,1-是)",
"string white_list //白名单列表(多个用英文;分割)",
"string pc_bg //pc适配背景图",
"int32 ads_type //广告状态(0-不启用广告,1-跟随项目配置,2-活动开启)",
"repeated int64 level_ids //限制的用户类型id集合",
"string link_temp_id //链接模板id",
"int32 rule_time_open //是否展示规则中的活动时间(0-否,1-是)",
"int32 outside_task //是否外显任务(0-否,1-是)",
"string icon_text_color //活动挂件字体色",
"int32 open_share //是否启用分享模块(0-否,1-是)",
"int32 show_to_use //是否展示奖品弹窗的去使用(0-不展示,1-展示)",
"int32 rule_type //规则展示类型(0-文本,1-图片)",
"string rule_img //规则展示图",
"int32 rule_outside //规则是否外显(0-否,1-是)",
"int32 device_once //设备唯一(0-否,1-是)",
]
[[method.req.message]]
name = "LongImg"
field = [
"string img_url //图片地址",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"int64 id //长图id",
"int32 click_type //点击类型(1-整图点击,2-区域点击)",
"repeated HotZone hot_zone //点击区域",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
]
[[method.req.message]]
name = "HotZone"
field = [
"int64 id //热区id",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"double click_x //点击区域x",
"double click_y //点击区域y",
"double click_w //点击区域w",
"double click_h //点击区域h",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
]
[[method.req.message]]
name = "Target"
field = [
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)",
"int32 option //标选择类型(1-app下载/注册;2-好友完成指定事件;3-指定事件达标;4-拉充值/积分消耗;5-用户指定事件达标)",
"int32 app_event //目标选择类型为1(option=1)的选项(1-安装;2-注册)",
"int32 both_type //满足条件(1-所有条件满足,2-任一条件满足)",
"repeated Cond cond //达标条件",
"BothAll both_all //满足条件为所有条件满足要提交的数据",
"NormalData normal_data //通用事件的数据",
]
[[method.req.message]]
name = "Cond"
field = [
"int64 id //条件id",
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"string desc //条件描述",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 view_type //广告观看路径(1-APP内,2-APP外)",
"repeated string lang_marks //限制的语言集合",
"int32 watch_sec //观看秒数",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"int32 go_show //是否显示“去完成按钮”(0-否,1-是)",
"string ads_strategy_id //策略id",
"int32 is_super //是否超级任务(0-否,1-是)",
"int32 has_pre //是否有前置条件(0-否,1-是)",
"int32 pre_cond //前置任务(1-点击任务icon,2-完成1个任务后,3-完成2个任务后,4-进入活动30秒后)",
"int32 expired_min //过期分钟数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品,point-积分)",
"int32 sort //排序",
"int32 open_push //是否开启完成推送(0-否,1-是)",
"string pc_param //pc端附加参数",
"int32 award_mode //领奖模式(1-自动领奖,2-手动领奖)",
"string go_text //去完成文案",
"int32 click_effect_open //是否开启点击有效(0-否,1-是)",
"int32 click_effect //点击有效值",
"string click_effect_unit //点击有效单位(min-分钟,hour-小时,day-天)",
"string expired_day //过期天数",
"int32 pull_invite //是否拉起邀请(0-否,1-是)",
]
[[method.req.message]]
name = "BothAll"
field = [
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"repeated string lang_marks //限制的语言集合",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"string expired_day //过期天数",
]
[[method.req.message]]
name = "NormalData"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标获得的数量(如:骰子数)",
"int32 chance_limit //最大获得数量(如:最大骰子数)",
]
[[method.req.message]]
name = "TargetOption"
field = [
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)",
"Fixed fixed //固定事件",
"Custom custom //自定义事件",
]
[[method.req.message]]
name = "Fixed"
field = [
"int32 open //是否开启(0-否,1-是)",
"int32 app_event //固定事件类型(1-安装;2-注册)",
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标获得的数量(如:骰子数)",
"int32 chance_limit //最大获得数量(如:最大骰子数)",
"double percent //百分比值(如:获得的能量点)",
]
[[method.req.message]]
name = "Custom"
field = [
"int32 open //是否开启(0-否,1-是)",
"int32 both_type //满足条件(1-所有条件满足,2-任一条件满足)",
"repeated Cond cond //达标条件",
"BothAll both_all //满足条件为所有条件满足要提交的数据",
"int32 pre_event //自定义事件前置事件(0-任意事件;1-安装;2-注册)",
]
[[method.req.message]]
name = "KV"
field = [
"string key //对应字段名",
"string value //对应字段值",
]
[[method.req.message]]
name = "Reward"
field = [
"int64 id //活动奖品id",
"int64 reward_id //奖品库的奖品id",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"int32 odds //中奖率",
"string jump_url //跳转地址",
"int32 campaign_limit //活动内单个用户可获取该奖品次数",
"int32 register //开启注册助力(0-否,1-是)",
"double register_percent //每个注册获得的进度比率",
"double init_percent //初始助力进度",
"CollectRule collect_rule //收集规则",
"string expired_day //过期天数",
"OpenAdd open_add //库存增加规则",
"RewardTask reward_task //解锁任务",
]
[[method.req.message]]
name = "RewardTask"
field = [
"int32 open //是否开启(0-否,1-是)",
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 open_push //是否开启完成推送(0-否,1-是)",
]
[[method.req.message]]
name = "OpenAdd"
field = [
"int32 open //开启动态库存规则(0-否,1-是)",
"int64 start //开始时间",
"int64 end //结束时间",
"int32 day_num //天数",
"int32 day_add //增加的库存量",
]
[[method.req.message]]
name = "CollectRule"
field = [
"int32 open //开启碎片规则(0-否,1-是)",
"int32 init_collect //初始的最大可获得碎片数",
"int32 sign_day //签到天数",
"int32 add_collect //完成条件可获得最大碎片数",
"int32 reset_type //重置碎片规则(1-不重置,2-获奖后重置)",
]
[[method.req.message]]
name = "Rewards"
field = [
"int32 reward_group //奖品分组类型(1-常规奖品,2-用户类型奖品,3-语言奖品,4-语言+用户类型奖品,5-国家奖品)",
"repeated Reward normal //常规奖品",
"UserLevel user_level //用户类型奖品",
"repeated Lang langs //语言奖品",
"repeated LangUserLevel lang_user_level //语言+用户类型奖品",
"Country country //国家奖品",
]
[[method.req.message]]
name = "UserLevel"
field = [
"int64 default_level_id //默认用户类型id",
"repeated UserLevelOne level_list //用户类型奖品",
]
[[method.req.message]]
name = "UserLevelOne"
field = [
"int64 level_id //用户类型id",
"repeated Reward rewards //奖品",
]
[[method.req.message]]
name = "Lang"
field = [
"string lang_mark //语言标识",
"repeated Reward rewards //奖品",
]
[[method.req.message]]
name = "LangUserLevel"
field = [
"string lang_mark //语言标识",
"int64 default_level_id //默认用户类型id",
"repeated UserLevelOne level_list //用户类型奖品",
]
[[method.req.message]]
name = "Country"
field = [
"string default_country_mark //默认国家",
"repeated CountryOne country_list //国家的奖品",
]
[[method.req.message]]
name = "CountryOne"
field = [
"string country_mark //国家标识",
"repeated Reward rewards //奖品",
]
[[method.req.message]]
name = "QaQuestion"
field = [
"int64 id //题目id",
"string title //题目",
"int32 score //得分",
"repeated QaOption options //选项",
]
[[method.req.message]]
name = "QaOption"
field = [
"int64 id //答案id",
"string title //答案内容",
"int32 is_right //是否正确答案(1-是,0-否)",
]
[[method.req.message]]
name = "QuizOption"
field = [
"int64 id //选项id",
"string title //选项标题",
"string img_url //选项图片",
"int32 is_right //是否正确选项(1-是,0-否)",
]
[[method.req.message]]
name = "Quiz"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 init_chance //初始答题机会次数",
"int32 chance //达标获得的答题机会次数",
"int32 reward_rule //奖励规则(1-投票结果排名,2-自定义竞猜结果)",
"int64 open_prize //开奖时间",
"string title //选项标题",
"repeated QuizOption options //有奖竞猜选项",
]
[[method.req.message]]
name = "QuestionAnswer"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标条件后可获取的答题次数",
"int32 init_chance //初始答题机会次数",
"int32 question_ask_time //答题时间限制(单位:S,如:1 就是1秒)",
"repeated QaQuestion questions //题目",
"string group_hash_id //题库对外id",
"int32 qa_num //题库选取数量",
"int32 day_chance //每日签到获得的答题数",
"int32 open_guide //是否开启引导(0-否,1-是)",
"string guide_group_hash_id //引导组hash_id",
]
[[method.req.message]]
name = "LotteryConfig"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 init_chance //初始抽奖机会次数",
"int32 chance //达标获得的抽奖机会次数",
"int32 day_chance //每日获得的抽奖机会次数",
]
[[method.req.message]]
name = "InviteConfig"
field = [
"int32 reward_limit //活动总奖励上限",
"int32 reward_rule //用户奖励规则(1-阶梯,2-非阶梯)",
"int32 invite_limit //邀请超过多少人不能再获得奖励",
"int32 newcomer_cond //新人条件(1-新安装,2-助力成功,3-新安装且助力成功)",
"int32 step_loop //阶梯是否支持循环(0-不支持,1-支持)",
]
[[method.req.message]]
name = "Sign"
field = [
"int32 sign_type //签到类型(1-普通签到,2-阶梯签到)",
"int32 is_continue //是否连续签到(1-是,0-否)",
"int32 has_card //是否开启签到卡(1-开启,0-不开启)",
"int32 invite_num //邀请好友数可获得的1张签到卡",
"int32 limit_card_num //可获得幸运卡的最大张数",
"int32 is_loop //是否支持循环(0-否,1-是)",
"int32 sign_cycle //签到周期",
"int32 recycle_type //重新签到模式(1-断签重签,2-周期重签)",
"string color //签到主题颜色",
]
[[method.req.message]]
name = "Dice"
field = [
"int32 init_chance //初始骰子数",
"int32 day_chance //每日获得的骰子数",
"int32 fix_dice //开启固定骰子(0-不开启,1-开启)",
"int32 fix_dice_target //获得固定骰子需要邀请的人数",
"int32 fix_dice_limit //固定骰子限制获取数",
"string custom_dice //自定义骰子图片",
"int32 open_map_point //开启自定义底座(0-不开启,1-开启)",
"MapPoint map_point //自定义底座数据",
"int32 award_type //奖品碎片收集方式(1-随机收集,2-概率收集)",
"int32 open_invite //开启邀请挂件(0-关闭,1-开启)",
"int32 roll_again //开启再摇一次(0-关闭,1-开启)",
"int32 fix_dice_cond //邀请事件(1-安装,2-注册)",
"int32 odds //概率收集方式的中奖概率",
"string play_img //play按钮图",
"string cloud_img //云朵图",
]
[[method.req.message]]
name = "MapPoint"
field = [
"string blank //空白底座",
"string again //再摇一次底座",
"string normal //普通奖品底座",
"string supper //超级大奖底座",
]
[[method.req.message]]
name = "Grow"
field = [
"int32 auto_hour //自动生产成长道具小时数",
"int32 auto_num //生产的成长道具数",
"int32 grow_num //邀请可获得的成长道具数量",
"int32 target_num //获得成长道具需要邀请的人数",
"int32 revive //是否支持复活(0-否,1-是)",
"int32 revive_num //复活需要邀请的好友数",
"int32 die_hour //未获得成长道具导致的死亡时间",
"repeated GrowStep steps //成长阶段",
"int32 init_num //初始成长道具数量",
]
[[method.req.message]]
name = "GrowStep"
field = [
"int64 id //奖品id",
"int32 num //需要的养成道具数量",
]
[[method.req.message]]
name = "Ballot"
field = [
"int32 init_chance //初始抽签数",
"int32 day_chance //每日获得的抽签数",
]
[[method.req.message]]
name = "Chop"
field = [
"int32 show_bar //是否展示进度条(0-否,1-是)",
]
[[method.req.message]]
name = "Cash"
field = [
"int32 expired_day //任务重置天数",
"int32 price //单位奖品总价值",
"int32 price_num //奖品总份额",
"int32 currency //货币id标识",
"int32 loop_num //支持循环次数",
]
[[method.req.message]]
name = "Flip"
field = [
"int32 init_chance //初始抽奖机会次数",
"string card_img //卡牌图片",
"int32 day_chance //每日获得的抽奖机会次数",
]
[[method.req.message]]
name = "Keep"
field = [
"int32 collect //获得最终奖品需要的总收集数",
"int32 collect_second //单个收集需要的二级资源数",
"int32 open_invite //开启邀请(0-关闭,1-开启)",
"Invite invite //拉新配置",
"int32 init_get //初始道具数",
"double sec_get //每秒获得道具数",
"int32 feed_num //每次使用道具数",
"int32 feed_cycle //喂养周期(单位:天)",
"int32 max_feed //最大可领养次数",
"int32 feed_get //喂养能得到的道具数",
"int32 feed_get_num //得到喂养道具需要的喂养次数",
"repeated Talk talk_text //对话文案",
"repeated KeepStep steps //养成阶梯",
"double sec_get_day_limit //每秒获得道具每日上限",
"int32 machine_type //狗粮机类型(1-在线收益,2-离线收益)",
"int32 offline_min //离线分钟时长",
"int32 offline_get //离线收益最大值",
"int32 offline_limit //离线收益最大领取次数",
]
[[method.req.message]]
name = "Invite"
field = [
"int32 invite_type //邀请类型(1-下载,2-安装)",
"int32 invite_get //邀请可获得的道具数量",
"int32 reward_selected //选择礼品可获得的道具数",
"int32 feed_third //喂养3次可获得的道具数",
"int32 day_first_invite //是否开启每日首次拉新(0-否,1-是)",
"int32 day_first_get //每日首次拉新可获得的道具数",
"int32 day_first_selected //每日首日选择礼物可获得的道具数",
"int32 day_first_third //每日首次喂养三次可获得的道具数",
"int32 invite_max_get //邀请人可获得的最大道具数",
]
[[method.req.message]]
name = "Talk"
field = [
"int32 text_type //话术逻辑(1-进入活动时,2-20秒没有投喂时,3-50秒没有投喂时,4-存储的狗粮能投喂5次时)",
"string content //内容",
]
[[method.req.message]]
name = "KeepStep"
field = [
"int32 step //阶段",
"int32 percent //对应的进度条数值",
"int32 reward_type //奖品类型(1-成长道具,2-奖品)",
"Reward reward //奖品数据时",
"int32 reward_num //发放道具数量",
]
[[method.req.message]]
name = "Push"
field = [
"PushOne task_reset // 重制提醒",
"PushOne active //活跃提醒",
"PushOne offline //离线提醒",
"PushOne visit //访问提醒",
]
[[method.req.message]]
name = "PushOne"
field = [
"int32 open //是否开启",
"repeated PushCond push_cond //条件内容"
]
[[method.req.message]]
name = "PushCond"
field = [
"string mark //条件标识",
"string val // 标识值 "
]
[[method.req.message]]
name = "Gold"
field = [
"int32 gold_num //任务重置天数",
"int32 expired_day //任务重置天数",
"double price //单位奖品总价值",
"int32 price_num //奖品总份额",
"int32 currency //货币id标识",
]
[[method.req.message]]
name = "Coin"
field = [
"string coin_img //金币图片",
"int32 open_days //开奖天数",
"int32 open_limit //开奖次数限制",
"int32 init_coin //初始金币数",
"int32 init_use //初始投放次数",
"int32 use_coin //单次投放消耗金币数",
"int32 use_limit //单次瓜分最多投放次数",
"int64 url_id //回调地址id",
"repeated int32 lack_btn //金币不足展示的按钮(1-做任务,2-自定义按钮)[1,2]",
"string custom_btn_text //自定义按钮文案",
"string custom_web_url //自定义web端url",
"string custom_extra_param //自定义app附加参数",
"string custom_pc_param //自定义pc附加参数",
]
[method.res]
field = [
"int64 id //id",
"string hash_id //活动id",
"bool add_task //新加了任务"
]
[[method]]
name = "Show"
desc = "活动详情"
[method.req]
field = [
"int64 id //活动gid",
"string hash_id //活动hash_id",
"bool not_reward //不需要奖品"
]
[method.res]
field = [
"int64 id //活动gid",
"string hash_id //活动hash_id",
"string title //活动标题",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线)",
"string fission_mark //活动类型玩法标识",
"int64 temp_id //模版id",
"int64 project_id //模版id",
"string cover_url //活动封面图",
"Config config //活动基础配置",
"repeated Share share //选择的社媒",
"repeated KV campaign_data //前端组件位置偏移数据",
"LotteryConfig prize_wheel //大转盘配置(大转盘玩法必传)",
"LotteryConfig slot //老虎机配置(老虎机玩法必传)",
"LotteryConfig blind //盲盒配置(盲盒玩法必传)",
"LotteryConfig grid //九宫格配置(九宫格玩法必传)",
"InviteConfig referral //老带新配置(老带新玩法必传)",
"QuestionAnswer question_answer //趣味问答配置(趣味问答玩法必传)",
"Quiz quiz //有奖竞猜配置(有奖竞猜玩法必传)",
"InviteConfig win //一起赢配置(一起赢玩法必传)",
"int32 t_offset //时间偏移量",
"int64 t_start //展示的开始时间时间戳",
"int64 t_end //展示的结束时间时间戳",
"Target target //活动目标",
"Sign sign //签到配置(签到玩法必传)",
"Dice dice //大富翁配置(大富翁玩法必传)",
"Grow grow //农场配置(农场玩法必传)",
"Ballot ballot //抽签配置(抽签玩法必传)",
"Chop chop //砍一刀配置(砍一刀玩法必传)",
"repeated KV delay_link_data //延迟深度链接自定义键值数据",
"Rewards rewards //站内奖品",
"repeated Reward rewards_web //站外奖品",
"repeated Reward rewards_extra //额外奖品",
"repeated Reward rewards_newcomer //新人奖",
"repeated string lang_marks //支持的语种",
"TargetOption target_option //目标配置选项",
"Cash cash //现金抽奖配置(现金抽奖玩法必传)",
"repeated LongImg long_imgs //长图配置",
"Flip flip //翻牌配置(翻牌玩法必传)",
"Keep keep_dog //养狗(养狗配置必传)",
"Push push //推送配置",
"repeated Child child //关联的子活动",
"WheelStyle wheel_style //转盘自定义样式",
"Gold gold //金币任务配置(金币任务玩法必传)",
"int64 fission_id //玩法id",
"Coin coin //金币池配置(金币池玩法必传)",
"GridStyle grid_style //九宫格自定义样式",
"FlipStyle flip_style //翻牌自定义样式",
"PointsUse points_use //积分消耗",
"Chat chat //ai陪伴",
"Vs vs //赛事竞猜配置(赛事竞猜玩法必传)",
"Uno uno //uno卡牌配置(uno卡牌玩法必传)",
"Event event //事件配置(活动事件)",
"LotteryConfig gashapon //扭蛋机配置(扭蛋机玩法必传)",
"GashaponStyle gashapon_style //扭蛋机自定义样式",
]
[[method.res.message]]
name = "GashaponStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string machine_img //机器图",
"string play_img //Go按钮图",
"int32 egg_type //类型",
"repeated string egg_imgs //扭蛋素材",
]
[[method.res.message]]
name = "Event"
field = [
"EventOne first_visit //首次访问",
]
[[method.res.message]]
name = "EventOne"
field = [
"int32 open //是否开启",
"repeated EventReward rewards //奖励"
]
[[method.res.message]]
name = "EventReward"
field = [
"int64 id //id",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品,point-积分)",
"Reward reward //奖品",
"int32 chance //道具数量",
"string expired_day //过期天数",
]
[[method.res.message]]
name = "Uno"
field = [
"int32 init_chance //初始抽奖次数",
"repeated string prop_marks //道具类型(three - +3道具牌,five - +5道具牌,fix - 固定颜色道具牌)",
"UnoGroup red //红牌配置",
"UnoGroup yellow //黄牌配置",
"UnoGroup blue //黑牌配置",
"UnoGroup green //绿牌配置",
]
[[method.res.message]]
name = "UnoGroup"
field = [
"int64 id //牌型id",
"string odds //获得牌型概率",
"Reward reward //奖品",
"int32 open_rule //是否开启得牌规则(0-否,1-是)",
"UnoLimitRule limit_rule //得牌规则",
"int32 custom_card //自定义卡牌(0-否,1-是)",
"repeated UnoCard cards //自定义卡牌",
]
[[method.res.message]]
name = "UnoLimitRule"
field = [
"int32 init_num //初始的最大可获得牌型数",
"int32 sign_day //签到天数",
"int32 add_num //完成条件可获得最大牌型数",
"int32 reset_type //重置规则(1-不重置,2-获奖后重置)",
]
[[method.res.message]]
name = "UnoCard"
field = [
"int64 id //牌id",
"string title //跳转按钮文案",
"string img_url //图片地址",
"string web_url //Web跳转地址",
"string app_param //App跳转参数",
"string pc_param //pc跳转参数",
"int32 card_no //牌号",
]
[[method.res.message]]
name = "Vs"
field = [
"int32 init_chance //初始投票次数",
"int32 each_limit_num //每场可投票次数",
"int32 open_point //是否开启积分(0-否,1-是)",
"int32 points_num //投票扣除积分数",
"int32 mall_open //是否使用积分商城(0-否,1-是)",
"int64 mall_id //兑换商城id",
"int32 vs_tz //比赛时区",
"int32 claim_type //领奖方式(1-结算后自动发奖,2-结算后进入活动后发奖,3-结算后手动领奖)",
"repeated Schedule schedules //赛事时间表",
"string icon_mall //商城图标",
"string icon_reward //奖励记录图标",
"string icon_schedule //赛程图标",
]
[[method.res.message]]
name = "Schedule"
field = [
"int32 id //id",
"repeated PkTeam pk_teams //队伍",
]
[[method.res.message]]
name = "PkTeam"
field = [
"int64 id //赛程id",
"repeated Team teams //队伍",
"int64 vote_start //开始时间",
"int64 vote_end //结束时间",
"int64 vs_at //比赛开始时间",
"string vs_img //比赛图",
"string desc //标题描述",
"string prop_mark //奖励的道具类型(reward-奖品,point-积分)",
"int64 reward_id //奖品库奖品id",
"int32 prop_num //道具数量",
"string expired_day //过期天数",
"int32 is_settlement //是否结算(0-否,1-是)",
"repeated string other_vote //其他投票方式",
"int32 open_odds //是否开启赔率(0-否,1-是)",
"string odds_left //左边赔率",
"string odds_right //右边赔率",
"string odds_draw //平局赔率",
"int32 status //投票状态(1-即将投票,2-投票中,3-待结算,4-已结算)",
]
[[method.res.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.res.message]]
name = "Chat"
field = [
"int32 open //开启ai陪伴(0-关闭,1-开启)",
"string header_img //宠物头像",
"string chat_bg //聊天背景",
"int32 day_limit //每日聊天上限",
]
[[method.res.message]]
name = "PointsUse"
field = [
"int32 open //是否开启积分消耗(0-否,1-是)",
"string icon //积分icon图",
"int64 url_id //回调地址id",
"int32 use_num //单次兑换使用积分数量",
"int32 day_limit //每日可兑换次数",
"int32 total_limit //总兑换次数",
]
[[method.res.message]]
name = "FlipStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string button_color //按钮颜色",
"string play_img //Go按钮图",
"string card_img //卡片素材",
]
[[method.res.message]]
name = "GridStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string button_color //按钮颜色",
"string play_img //Go按钮图",
"string disable_play_img //Go按钮禁用",
"string machine_img //机器图",
"string grid_img //方格图",
"string activate_img //方格激活图",
]
[[method.res.message]]
name = "WheelStyle"
field = [
"string topic_mark //主题标识",
"string main_img //活动背景图",
"string bg_color //背景颜色",
"string bottom1 //底部颜色1",
"string bottom2 //底部颜色2",
"string bottom3 //底部颜色3",
"string pointer //指针图片",
"string play_btn //玩法按钮图片",
"string border_img //边框图片",
"string button_color //按钮颜色",
"string wheel_text_color //转盘文字颜色",
]
[[method.res.message]]
name = "Child"
field = [
"string hash_id //活动hash_id",
"int32 child_type //子活动类型",
]
[[method.res.message]]
name = "Share"
field = [
"int64 id //活动ID",
"string title //标题",
"string logo //图标",
"string scheme //Scheme",
"string ios_scheme //ios Scheme",
]
[[method.res.message]]
name = "Config"
field = [
"string rule_text_color //规则文字颜色",
"string rule_bg_color //规则背景颜色",
"string share_text //分享文案",
"string share_img //分享图片",
"int32 has_rank //是否展示中奖纪录(1-是,0-否)",
"string rank_background_color //排行榜背景颜色",
"string rank_text_color //排行榜背景颜色",
"string download_page_image //下载引导页的图片",
"int32 is_default_download //是否使用默认下载图(1-是,0-否)",
"string wechat_page_image //微信引导页的图片",
"int32 is_default_wechat //是否使用默认微信引导图(1-是,0-否)",
"string image_main //活动主图",
"int32 is_default_main //是否使用默认活动主图(1-是,0-否)",
"string image_preview //问题页背景图",
"string link_btn_text_color //分享链接按钮文字颜色",
"string link_btn_bg_color //分享链接按钮背景颜色",
"string link_text_color //分享链接文字颜色",
"int32 show_share //是否显示分享社交媒体(0-否,1-是)",
"repeated int64 share //要分享的社交媒体,例如[1,2,3]",
"string play_rule //玩法规则",
"string page_title //页面标题",
"int32 dm_show //是否显示弹幕(0-否,1-是)",
"string web_bg_img //站外活动背景图",
"int32 has_web //是否有站外活动(0-否,1-是)",
"int32 has_warm_up //是否预热(0-否,1-是)",
"string warm_up_img //预热海报图",
"int32 warm_up_end //活动开始前多少分钟结束预热",
"int32 icon_type //活动挂件类型(用于前端挂件选用判断)",
"string icon_bg_color //活动挂件背景色",
"int32 dl_type //下载引导页类型(1-通用,2-自定义多媒体)",
"int32 dl_banner_type //下载页横幅类型(1-默认,2-自定义)",
"string dl_banner_img //下载页横幅自定义图",
"string dl_banner_app_logo //下载页横幅applogo图片",
"string dl_banner_app_name //下载页横幅app名称",
"string dl_banner_app_btn //下载页横幅app按钮文案",
"int32 dl_banner_position //下载页横幅位置(1-顶部,2-底部)",
"string topic_color //主题色",
"int32 window_cover //是否全屏展示(0-否,1-是)",
"int32 open_ad //是否开启广告(0-否,1-是)",
"int32 close_copy_share //关闭复制分享文案(0-否,1-是)",
"repeated int32 icon_open //开启的挂件(1-奖品列表,2-邀请记录,3-奖励记录,4-邀请好友),例如[1,3]",
"int32 has_white //是否开启白名单(0-否,1-是)",
"string white_list //白名单列表(多个用英文;分割)",
"string pc_bg //pc适配背景图",
"int32 ads_type //广告状态(0-不启用广告,1-跟随项目配置,2-活动开启)",
"string link_temp_id //链接模板id",
"int32 rule_time_open //是否展示规则中的活动时间(0-否,1-是)",
"int32 outside_task //是否外显任务(0-否,1-是)",
"string icon_text_color //活动挂件字体色",
"int32 open_share //是否启用分享模块(0-否,1-是)",
"int32 show_to_use //是否展示奖品弹窗的去使用(0-不展示,1-展示)",
"int32 rule_type //规则展示类型(0-文本,1-图片)",
"string rule_img //规则展示图",
"int32 rule_outside //规则是否外显(0-否,1-是)",
"int32 device_once //设备唯一(0-否,1-是)",
]
[[method.res.message]]
name = "LongImg"
field = [
"string img_url //图片地址",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"int64 id //长图id",
"int32 click_type //点击类型(1-整图点击,2-区域点击)",
"repeated HotZone hot_zone //点击区域",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string target_url // 目标地址",
"string pc_param //pc端的跳转参数",
]
[[method.res.message]]
name = "HotZone"
field = [
"int64 id //热区id",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"double click_x //点击区域x",
"double click_y //点击区域y",
"double click_w //点击区域w",
"double click_h //点击区域h",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string target_url // 目标地址",
"string pc_param //pc端的跳转参数",
]
[[method.res.message]]
name = "Target"
field = [
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)",
"int32 option //标选择类型(1-app下载/注册;2-好友完成指定事件;3-指定事件达标;4-拉充值/积分消耗;5-用户指定事件达标)",
"int32 app_event //目标选择类型为1(option=1)的选项(1-安装;2-注册)",
"int32 both_type //满足条件(1-所有条件满足,2-任一条件满足)",
"repeated Cond cond //达标条件",
"BothAll both_all //满足条件为所有条件满足要提交的数据",
"NormalData normal_data //通用事件的数据",
]
[[method.res.message]]
name = "Cond"
field = [
"int64 id //条件id",
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"string desc //条件描述",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 view_type //广告观看路径(1-APP内,2-APP外)",
"repeated string lang_marks //限制的语言集合",
"int32 watch_sec //观看秒数",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"int32 go_show //是否显示“去完成按钮”(0-否,1-是)",
"string ads_strategy_id //策略id",
"string ads_strategy_title //策略标题",
"int32 is_super //是否超级任务(0-否,1-是)",
"int32 has_pre //是否有前置条件(0-否,1-是)",
"int32 pre_cond //前置任务(1-点击任务icon,2-完成1个任务后,3-完成2个任务后,4-进入活动30秒后)",
"int32 expired_min //过期分钟数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品,point-积分)",
"int32 sort //排序",
"int32 open_push //是否开启完成推送(0-否,1-是)",
"string pc_param //pc端附加参数",
"int32 award_mode //领奖模式(1-自动领奖,2-手动领奖)",
"string go_text //去完成文案",
"int32 click_effect_open //是否开启点击有效(0-否,1-是)",
"int32 click_effect //点击有效值",
"string click_effect_unit //点击有效单位(min-分钟,hour-小时,day-天)",
"string expired_day //过期天数",
"int32 pull_invite //是否拉起邀请(0-否,1-是)",
]
[[method.res.message]]
name = "BothAll"
field = [
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"repeated string lang_marks //限制的语言集合",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"string expired_day //过期天数",
]
[[method.res.message]]
name = "NormalData"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标获得的数量(如:骰子数)",
"int32 chance_limit //最大获得数量(如:最大骰子数)",
]
[[method.res.message]]
name = "TargetOption"
field = [
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)",
"Fixed fixed //固定事件",
"Custom custom //自定义事件",
"int32 option //标选择类型(1-app下载/注册;2-好友完成指定事件;3-指定事件达标;4-拉充值/积分消耗;5-用户指定事件达标)",
]
[[method.res.message]]
name = "Fixed"
field = [
"int32 open //是否开启(0-否,1-是)",
"int32 app_event //固定事件类型(1-安装;2-注册)",
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标获得的数量(如:骰子数)",
"int32 chance_limit //最大获得数量(如:最大骰子数)",
"double percent //百分比值(如:获得的能量点)",
]
[[method.res.message]]
name = "Custom"
field = [
"int32 open //是否开启(0-否,1-是)",
"int32 both_type //满足条件(1-所有条件满足,2-任一条件满足)",
"repeated Cond cond //达标条件",
"BothAll both_all //满足条件为所有条件满足要提交的数据",
"int32 pre_event //自定义事件前置事件(0-任意事件;1-安装;2-注册)",
]
[[method.res.message]]
name = "KV"
field = [
"string key //对应字段名",
"string value //对应字段值",
]
[[method.res.message]]
name = "WebReward"
field = [
"int64 id //奖品id",
"string title //奖品名称",
"string img_url //奖品图片(相对路径)",
"repeated KV kv_data //奖品自定义参数数据",
]
[[method.res.message]]
name = "Reward"
field = [
"int64 id //活动奖品id",
"int64 reward_id //奖品库的奖品id",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"repeated KV kv_data //奖品自定义参数数据",
"string title //奖品名称",
"string img_url //奖品图片",
"int32 receive_type //发放类型(1-系统发放,2-联系客服,3-客户端发放,4-提交表单)",
"string contact //联系方式",
"string url //回调地址",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"string lang_mark //奖品语言标识",
"int32 odds //中奖率",
"string jump_url //跳转地址",
"string form_title //表单标题",
"int32 campaign_limit //活动内单个用户可获取该奖品次数",
"int32 register //开启注册助力(0-否,1-是)",
"double register_percent //每个注册获得的进度比率",
"double init_percent //初始助力进度",
"CollectRule collect_rule //收集规则",
"string expired_day //过期天数",
"OpenAdd open_add //库存增加规则",
"RewardTask reward_task //解锁任务",
]
[[method.res.message]]
name = "RewardTask"
field = [
"int32 open //是否开启(0-否,1-是)",
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 open_push //是否开启完成推送(0-否,1-是)",
]
[[method.res.message]]
name = "OpenAdd"
field = [
"int32 open //开启动态库存规则(0-否,1-是)",
"int64 start //开始时间",
"int64 end //结束时间",
"int32 day_num //天数",
"int32 day_add //增加的库存量",
]
[[method.res.message]]
name = "CollectRule"
field = [
"int32 open //开启碎片规则(0-否,1-是)",
"int32 init_collect //初始的最大可获得碎片数",
"int32 sign_day //签到天数",
"int32 add_collect //完成条件可获得最大碎片数",
"int32 reset_type //重置碎片规则(1-不重置,2-获奖后重置)",
]
[[method.res.message]]
name = "Rewards"
field = [
"int32 reward_group //奖品分组类型(1-常规奖品,2-用户类型奖品,3-语言奖品,4-语言+用户类型奖品,5-国家奖品)",
"repeated Reward normal //常规奖品",
"UserLevel user_level //用户类型奖品",
"repeated Lang langs //语言奖品",
"repeated LangUserLevel lang_user_level //语言+用户类型奖品",
"Country country //国家奖品",
]
[[method.res.message]]
name = "UserLevel"
field = [
"int64 default_level_id //默认用户类型id",
"string default_level_title //默认用户类型标题",
"repeated UserLevelOne level_list //用户类型奖品",
]
[[method.res.message]]
name = "UserLevelOne"
field = [
"int64 level_id //用户类型id",
"string level_title //用户类型标题",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "Lang"
field = [
"int32 lang_type //语言标识数字",
"string lang_mark //语言标识",
"bool default_lang //是否默认语言",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "LangUserLevel"
field = [
"string lang_mark //语言标识",
"int32 lang_type //语言标识数字",
"bool default_lang //是否默认语言",
"int64 default_level_id //默认用户类型id",
"string default_level_title //默认用户类型标题",
"repeated UserLevelOne level_list //用户类型奖品",
]
[[method.res.message]]
name = "Country"
field = [
"string default_country_mark //默认国家",
"repeated CountryOne country_list //国家的奖品",
]
[[method.res.message]]
name = "CountryOne"
field = [
"string country_mark //国家标识",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "QaQuestion"
field = [
"int64 id //题目id",
"string title //题目",
"int32 score //得分",
"repeated QaOption options //选项",
]
[[method.res.message]]
name = "QaOption"
field = [
"int64 id //答案id",
"string title //答案内容",
"int32 is_right //是否正确答案(1-是,0-否)",
]
[[method.res.message]]
name = "QuizOption"
field = [
"int64 id //选项id",
"string title //选项标题",
"string img_url //选项图片",
"int32 is_right //是否正确选项(1-是,0-否)",
"int64 vote_num //投票人数",
]
[[method.res.message]]
name = "Quiz"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 init_chance //初始答题机会次数",
"int32 chance //达标获得的答题机会次数",
"int32 reward_rule //奖励规则(1-投票结果排名,2-自定义竞猜结果)",
"int64 open_prize //开奖时间",
"string title //选择标题",
"int32 open_type //开奖状态(1-未开奖,2-已开奖,3-不开奖)",
"repeated QuizOption options //有奖竞猜选项",
"int64 t_open //偏移对比的开奖北京时间",
]
[[method.res.message]]
name = "QuestionAnswer"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 chance //达标条件后可获取的答题次数",
"int32 init_chance //初始答题机会次数",
"int32 question_ask_time //答题时间限制(单位:S,如:1 就是1秒)",
"repeated QaQuestion questions //题目",
"string group_hash_id //题库对外id",
"int32 qa_num //题库选取数量",
"int32 day_chance //每日签到获得的答题数",
"int32 open_guide //是否开启引导(0-否,1-是)",
"string guide_group_hash_id //引导组hash_id",
]
[[method.res.message]]
name = "LotteryConfig"
field = [
"int32 target_num //达标条件需要的新用户个数",
"int32 init_chance //初始抽奖机会次数",
"int32 chance //达标获得的抽奖机会次数",
"int32 day_chance //每日获得的抽奖机会次数",
]
[[method.res.message]]
name = "InviteConfig"
field = [
"int32 reward_limit //活动总奖励上限",
"int32 reward_rule //用户奖励规则(1-阶梯,2-非阶梯)",
"int32 invite_limit //邀请超过多少人不能再获得奖励",
"int32 newcomer_cond //新人条件(1-新安装,2-助力成功,3-新安装且助力成功)",
"int32 step_loop //阶梯是否支持循环(0-不支持,1-支持)",
]
[[method.res.message]]
name = "Sign"
field = [
"int32 sign_type //签到类型(1-普通签到,2-阶梯签到)",
"int32 is_continue //是否连续签到(1-是,0-否)",
"int32 has_card //是否开启签到卡(1-开启,0-不开启)",
"int32 invite_num //邀请好友数可获得的1张签到卡",
"int32 limit_card_num //可获得幸运卡的最大张数",
"int32 is_loop //是否支持循环(0-否,1-是)",
"int32 sign_cycle //签到周期",
"int32 recycle_type //重新签到模式(1-断签重签,2-周期重签)",
"string color //签到主题颜色",
]
[[method.res.message]]
name = "Dice"
field = [
"int32 init_chance //初始骰子数",
"int32 day_chance //每日获得的骰子数",
"int32 fix_dice //开启固定骰子(0-不开启,1-开启)",
"int32 fix_dice_target //获得固定骰子需要邀请的人数",
"int32 fix_dice_limit //固定骰子限制获取数",
"string custom_dice //自定义骰子图片",
"int32 open_map_point //开启自定义底座(0-不开启,1-开启)",
"MapPoint map_point //自定义底座数据",
"int32 award_type //奖品碎片收集方式(1-随机收集,2-概率收集)",
"int32 open_invite //开启邀请挂件(0-关闭,1-开启)",
"int32 roll_again //开启再摇一次(0-关闭,1-开启)",
"int32 fix_dice_cond //邀请事件(1-安装,2-注册)",
"int32 odds //概率收集方式的中奖概率",
"string play_img //play按钮图",
"string cloud_img //云朵图",
]
[[method.res.message]]
name = "MapPoint"
field = [
"string blank //空白底座",
"string again //再摇一次底座",
"string normal //普通奖品底座",
"string supper //超级大奖底座",
]
[[method.res.message]]
name = "Grow"
field = [
"int32 auto_hour //自动生产成长道具小时数",
"int32 auto_num //生产的成长道具数",
"int32 grow_num //邀请可获得的成长道具数量",
"int32 target_num //获得成长道具需要邀请的人数",
"int32 revive //是否支持复活(0-否,1-是)",
"int32 revive_num //复活需要邀请的好友数",
"int32 die_hour //未获得成长道具导致的死亡时间",
"repeated GrowStep steps //成长阶段",
"int32 init_num //初始成长道具数量",
]
[[method.res.message]]
name = "GrowStep"
field = [
"int64 id //奖品id",
"int32 num //需要的养成道具数量",
]
[[method.res.message]]
name = "Ballot"
field = [
"int32 init_chance //初始抽签数",
"int32 day_chance //每日获得的抽签数",
]
[[method.res.message]]
name = "Chop"
field = [
"int32 show_bar //是否展示进度条(0-否,1-是)",
]
[[method.res.message]]
name = "Cash"
field = [
"int32 expired_day //任务重置天数",
"int32 price //单位奖品总价值",
"int32 price_num //奖品总份额",
"repeated SpinCash spin_cash //金额",
"int32 lack //是否缺乏库存(0-否,1-是)",
"int32 currency //货币id标识",
"int32 loop_num //支持循环次数",
]
[[method.res.message]]
name = "SpinCash"
field = [
"int64 id //唯一id",
"double cash //单位奖品总价值",
]
[[method.res.message]]
name = "Flip"
field = [
"int32 init_chance //初始抽奖机会次数",
"string card_img //卡牌图片",
"int32 day_chance //每日获得的抽奖机会次数",
]
[[method.res.message]]
name = "Keep"
field = [
"int32 collect //获得最终奖品需要的总收集数",
"int32 collect_second //单个收集需要的二级资源数",
"int32 open_invite //开启邀请(0-关闭,1-开启)",
"Invite invite //拉新配置",
"int32 init_get //初始道具数",
"double sec_get //每秒获得道具数",
"int32 feed_num //每次使用道具数",
"int32 feed_cycle //喂养周期(单位:天)",
"int32 max_feed //最大可领养次数",
"int32 feed_get //喂养能得到的道具数",
"int32 feed_get_num //得到喂养道具需要的喂养次数",
"repeated Talk talk_text //对话文案",
"repeated KeepStep steps //养成阶梯",
"double sec_get_day_limit //每秒获得道具每日上限",
"int32 machine_type //狗粮机类型(1-在线收益,2-离线收益)",
"int32 offline_min //离线分钟时长",
"int32 offline_get //离线收益最大值",
"int32 offline_limit //离线收益最大领取次数",
]
[[method.res.message]]
name = "Invite"
field = [
"int32 invite_type //邀请类型(1-下载,2-安装)",
"int32 invite_get //邀请可获得的道具数量",
"int32 reward_selected //选择礼品可获得的道具数",
"int32 feed_third //喂养3次可获得的道具数",
"int32 day_first_invite //是否开启每日首次拉新(0-否,1-是)",
"int32 day_first_get //每日首次拉新可获得的道具数",
"int32 day_first_selected //每日首日选择礼物可获得的道具数",
"int32 day_first_third //每日首次喂养三次可获得的道具数",
"int32 invite_max_get //邀请人可获得的最大道具数",
]
[[method.res.message]]
name = "Talk"
field = [
"int32 text_type //话术逻辑(1-进入活动时,2-20秒没有投喂时,3-50秒没有投喂时,4-存储的狗粮能投喂5次时)",
"string content //内容",
]
[[method.res.message]]
name = "KeepStep"
field = [
"int32 step //阶段",
"int32 percent //对应的进度条数值",
"int32 reward_type //奖品类型(1-成长道具,2-奖品)",
"Reward reward //奖品数据时",
"int32 reward_num //发放道具数量",
]
[[method.res.message]]
name = "Push"
field = [
"PushOne task_reset // 重制提醒",
"PushOne active //活跃提醒",
"PushOne offline //离线提醒",
"PushOne visit //访问提醒",
]
[[method.res.message]]
name = "PushOne"
field = [
"int32 open //是否开启",
"repeated PushCond push_cond //条件内容"
]
[[method.res.message]]
name = "PushCond"
field = [
"string mark //条件标识",
"string val // 标识值 "
]
[[method.res.message]]
name = "Gold"
field = [
"int32 gold_num //任务重置天数",
"int32 expired_day //任务重置天数",
"double price //单位奖品总价值",
"int32 price_num //奖品总份额",
"int32 currency //货币id标识",
"repeated SpinCash spin_cash //金额",
"int32 lack //是否缺乏库存(0-否,1-是)",
]
[[method.res.message]]
name = "Coin"
field = [
"string coin_img //金币图片",
"int32 open_days //开奖天数",
"int32 open_limit //开奖次数限制",
"int32 init_coin //初始金币数",
"int32 init_use //初始投放次数",
"int32 use_coin //单次投放消耗金币数",
"int32 use_limit //单次瓜分最多投放次数",
"int64 url_id //回调地址id",
"repeated int32 lack_btn //金币不足展示的按钮(1-做任务,2-自定义按钮)[1,2]",
"string custom_btn_text //自定义按钮文案",
"string custom_web_url //自定义web端url",
"string custom_extra_param //自定义app附加参数",
"int64 custom_btn_id //自定义按钮ID",
"string custom_pc_param //自定义pc附加参数",
]
[[method]]
name = "ChannelList"
desc = "渠道列表"
[method.req]
field = [
"int64 campaign_id //活动id",
"string campaign_hash_id //活动对外id",
]
[method.res]
field = [
"repeated One list //站内渠道列表数据",
"repeated One web_list //站外渠道列表数据",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //渠道id",
"string title //渠道标题",
"int32 is_default //是否是默认值(0-否,1-是)",
"string url //渠道链接",
"string code //口令码",
]
[[method]]
name = "ChannelCreate"
desc = "渠道创建"
[method.req]
field = [
"int64 campaign_id //活动id",
"string campaign_hash_id //活动对外id",
"string title //渠道名称",
"int32 c_type //渠道类型(1-站内渠道,2-站外渠道)",
]
[method.res]
field = [
"int64 id //渠道id",
"string url //渠道链接",
]
[[method]]
name = "ChannelUpdate"
desc = "渠道创建"
[method.req]
field = [
"int64 id //渠道id",
"string title //渠道名称"
]
[method.res]
[[method]]
name = "ChannelDestroy"
desc = "渠道创建"
[method.req]
field = [
"int64 id //渠道id",
]
[method.res]
[[method]]
name = "KvData"
desc = "获取活动键值对"
[method.req]
field = [
"int64 id //活动id",
]
[method.res]
field = [
"repeated KV kv //活动键值对"
]
[[method.res.message]]
name = "KV"
field = [
"string key //对应字段名",
"string value //对应字段值",
]
[[method]]
name = "Cert"
desc = "认证活动信息"
[method.req]
field = [
"int64 id //活动id",
"string hash_id //活动",
"int64 project_id //项目id",
"string project_hash_id //项目hash_id",
]
[method.res]
field = [
"bool cert //认证失败",
"int64 id //活动id",
"string hash_id //活动",
"int64 project_id //项目id",
"string project_hash_id //项目hash_id",
"string title //活动标题",
]
[[method]]
name = "Barrage"
desc = "活动弹幕"
[method.req]
field = [
"int64 id //活动id",
"string hash_id //活动",
"string lang_mark //语种标识",
"string lv //用户等级标识",
"string show_lang //展示的语种",
"string country_mark //国家标识",
"int64 user_id //用户id",
]
[method.res]
field = [
"repeated string content //内容",
"repeated TranContent tran_content //内容",
]
[[method.res.message]]
name = "TranContent"
field = [
"string mark //语言包标识",
"repeated KV replace_kv //是否是默认值(0-否,1-是)",
"string reward_img //奖品图片",
]
[[method.res.message]]
name = "KV"
field = [
"string key //语言包中变量的替换关键字",
"string value //replace的值",
]
[[method]]
name = "Option"
desc = "投票选项"
[method.req]
field = [
"int64 id //活动id",
"string hash_id //活动",
]
[method.res]
field = [
"repeated Option options //内容",
"int64 right_id //开奖后正确选项,只有开奖后才有数据"
]
[[method.res.message]]
name = "Option"
field = [
"int64 id //选项id",
"string title //选项标题",
"string img_url //选项图片",
"int32 is_right //是否正确选项(1-是,0-否)",
"int64 vote_num //投票人数",
]
[[method]]
name = "RelateDdl"
desc = "活动关联动态下载页"
[method.req]
field = [
"string hash_id //活动hash_id",
"string project_hash_id //项目hash_id",
"bool close //是否关闭",
]
[method.res]
[[method]]
name = "DdlCampaign"
desc = "关联动态下载页的活动"
[method.req]
field = [
"string project_hash_id //项目hash_id",
]
[method.res]
field = [
"string hash_id //活动对外id",
"string title //活动标题",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线)",
]
[[method]]
name = "Langs"
desc = "活动多语言配置信息"
[method.req]
field = [
"string campaign_hash_id //活动hash_id",
]
[method.res]
field = [
"bool has_web //是否开启站外",
"bool has_warn //是否开启预热",
"int32 dl_type //下载引导页类型(1-通用,2-自定义多媒体)",
"int32 dl_banner_type //下载页横幅类型(1-默认,2-自定义)",
"int32 window_cover //是否开启全屏封面(0-关闭,1-开启)",
"int32 reward_group //奖品分组类型(1-常规奖品,2-用户类型奖品,3-语言奖品,4-语言+用户类型奖品)",
"repeated Lang langs //语言列表",
"repeated Lang not_support //不支持的语言列表",
"string fission_mark //玩法标识",
"string temp_group_mark //模版组标识",
"bool has_long_img //是否开启长图",
"int32 rule_type //规则展示类型(0-文本,1-图片)",
"string title //活动标题",
"string fission_mark_title //玩法标识说明",
]
[[method.res.message]]
name = "Lang"
field = [
"string hash_id //语言配置信息ID",
"bool is_default //是否默认配置语言",
"string lang_mark //语言对应的唯一标识",
"int32 lang_type //语言数字类型唯一标识",
"string page_title //页面标题",
"string image_main //活动主图",
"string download_page_image //下载引导页的图片",
"string wechat_page_image //微信引导页的图片",
"string content_img //内容背景图",
"string web_bg_img //站外背景图地址",
"string warm_up_img //预热海报图",
"string dl_bg_img //引导页背景图",
"string dl_banner_img //下载页横幅自定义图",
"string dl_banner_app_logo //下载页横幅applogo图片",
"string dl_banner_app_name //下载页横幅app名称",
"string dl_banner_app_btn //下载页横幅app按钮文案",
"string share_text //分享文案",
"string share_img //分享图片",
"string rule //活动规则",
"repeated Cond conds //事件驱动的条件描述",
"Quit quit //赛事竞猜选项翻译",
"repeated Question questions //问题翻译",
"bool wait //是否待配置",
"Rewards rewards //站内奖品",
"repeated Reward rewards_web //站外奖品",
"repeated Reward rewards_extra //额外奖品",
"repeated Reward rewards_newcomer //新人奖",
"repeated LongImg long_imgs //长图配置",
"Cash cash //现金抽奖配置",
"int32 t_offset //时区偏移值",
"int64 t_start //开始时间",
"int64 t_end //结束时间",
"QaGroup qa_group //题库数据",
"repeated Talk talk_text //对话文案",
"Gold gold //金币任务配置",
"Coin coin //金币池配置",
"string topic_color //主题色",
"string pc_bg //pc背景",
"string rule_img //规则展示图",
"repeated Schedule schedules //赛事时间表",
"Uno uno //uno卡牌配置",
]
[[method.res.message]]
name = "Uno"
field = [
"repeated UnoCard red //红牌配置",
"repeated UnoCard yellow //黄牌配置",
"repeated UnoCard blue //黑牌配置",
"repeated UnoCard green //绿牌配置",
]
[[method.res.message]]
name = "UnoCard"
field = [
"int64 id //牌id",
"string title //跳转按钮文案",
"string img_url //图片地址",
"string web_url //Web跳转地址",
"string app_param //App跳转参数",
"string pc_param //pc跳转参数",
]
[[method.res.message]]
name = "Schedule"
field = [
"int32 id //id",
"repeated PkTeam pk_teams //队伍",
]
[[method.res.message]]
name = "PkTeam"
field = [
"int64 id //赛程id",
"repeated Team teams //队伍",
"string vs_img //比赛图",
"string desc //标题描述",
]
[[method.res.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.res.message]]
name = "QaGroup"
field = [
"string qa_group_id //题库hash_id",
"int32 qa_num //题库选取数量",
"string title //题库标题",
"int32 open_guide //是否开启引导(0-否,1-是)",
"string guide_group_id //引导组hash_id",
]
[[method.res.message]]
name = "Talk"
field = [
"int32 text_type //话术逻辑(1-进入活动时,2-20秒没有投喂时,3-50秒没有投喂时,4-存储的狗粮能投喂5次时)",
"string content //内容",
]
[[method.res.message]]
name = "Cash"
field = [
"int32 price //单位奖品总价值",
"int32 currency //货币id标识",
]
[[method.res.message]]
name = "Gold"
field = [
"double price //单位奖品总价值",
"int32 currency //货币id标识",
]
[[method.res.message]]
name = "Coin"
field = [
"string custom_btn_text //自定义按钮文案",
"string custom_web_url //自定义web端url",
"string custom_extra_param //自定义app附加参数",
"string custom_pc_param //自定义pc附加参数",
]
[[method.res.message]]
name = "LongImg"
field = [
"string img_url //图片地址",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"int64 id //长图id",
"int32 click_type //点击类型(1-整图点击,2-区域点击)",
"repeated HotZone hot_zone //点击区域",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
"int64 lang_source_id //语言长图源ID",
]
[[method.res.message]]
name = "HotZone"
field = [
"int64 id //热区id",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"double click_x //点击区域x",
"double click_y //点击区域y",
"double click_w //点击区域w",
"double click_h //点击区域h",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
]
[[method.res.message]]
name = "Rewards"
field = [
"repeated Reward normal //常规奖品",
"repeated UserLevelOne user_level //用户类型奖品",
"repeated Reward langs //语言奖品",
"repeated UserLevelOne lang_user_level //语言+用户类型奖品",
"repeated CountryOne country //国家奖品",
]
[[method.res.message]]
name = "Reward"
field = [
"int64 reward_id //奖品库奖品id",
"string title //奖品名称",
"string img_url //奖品图片",
"bool find_default //是否只能显示默认奖品",
]
[[method.res.message]]
name = "UserLevelOne"
field = [
"int64 level_id //用户类型id",
"string level_title //用户等级名称",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "CountryOne"
field = [
"string country_mark//国家类型标识",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "Quit"
field = [
"string title //标题",
"repeated Option options //选项集合",
]
[[method.res.message]]
name = "Option"
field = [
"int64 option_id //选项id",
"string title //选项标题",
"string img_url //选项图片",
]
[[method.res.message]]
name = "Question"
field = [
"int64 qa_id //问题id",
"string title //题目",
"repeated Option options //选项集合",
]
[[method.res.message]]
name = "Cond"
field = [
"int64 cond_id //条件id",
"string desc //对应的语言描述",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"string pc_param //pc端附加参数",
"string go_text //去完成文案",
]
[[method]]
name = "Lang"
desc = "活动语言信息"
[method.req]
field = [
"int64 campaign_id //活动id",
"string lang_mark //语言对应的唯一标识",
]
[method.res]
field = [
"string hash_id //语言配置信息ID",
"string page_title //页面标题",
"string image_main //活动主图",
"string download_page_image //下载引导页的图片",
"string wechat_page_image //微信引导页的图片",
"string content_img //内容背景图",
"string web_bg_img //站外背景图地址",
"string warm_up_img //预热海报图",
"string dl_bg_img //引导页背景图",
"string dl_banner_img //下载页横幅自定义图",
"string dl_banner_app_logo //下载页横幅applogo图片",
"string dl_banner_app_name //下载页横幅app名称",
"string dl_banner_app_btn //下载页横幅app按钮文案",
"string share_text //分享文案",
"string share_img //分享图片",
"string rule //活动规则",
"repeated Cond conds //事件驱动的条件描述",
"Quit quit //赛事竞猜选项翻译",
"repeated Question questions //问题翻译",
"repeated LongImg long_imgs //长图配置",
"Cash cash //现金抽奖配置",
"int32 t_offset //时区偏移值",
"QaGroup qa_group //题库数据",
"repeated Talk talk_text //对话文案",
"Gold gold //金币任务配置",
"Coin coin //金币池配置",
"string topic_color //主题色",
"string pc_bg //pc背景",
"string rule_img //规则展示图",
"repeated Schedule schedules //赛事时间表",
"Uno uno //uno卡牌配置",
]
[[method.res.message]]
name = "Uno"
field = [
"repeated UnoCard red //红牌配置",
"repeated UnoCard yellow //黄牌配置",
"repeated UnoCard blue //黑牌配置",
"repeated UnoCard green //绿牌配置",
]
[[method.res.message]]
name = "UnoCard"
field = [
"int32 card_no //牌号",
"string title //跳转按钮文案",
"string img_url //图片地址",
"string web_url //Web跳转地址",
"string app_param //App跳转参数",
"string pc_param //pc跳转参数",
]
[[method.res.message]]
name = "Schedule"
field = [
"int32 id //id",
"repeated PkTeam pk_teams //队伍",
]
[[method.res.message]]
name = "PkTeam"
field = [
"int64 id //赛程id",
"repeated Team teams //队伍",
"string vs_img //比赛图",
"string desc //标题描述",
]
[[method.res.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.res.message]]
name = "Talk"
field = [
"int32 text_type //话术逻辑(1-进入活动时,2-20秒没有投喂时,3-50秒没有投喂时,4-存储的狗粮能投喂5次时)",
"string content //内容",
]
[[method.res.message]]
name = "QaGroup"
field = [
"string qa_group_id //题库hash_id",
"int32 qa_num //题库选取数量",
"string title //题库标题",
"string guide_group_id //引导组hash_id",
]
[[method.res.message]]
name = "Quit"
field = [
"string title //标题",
"repeated Option options //选项集合",
]
[[method.res.message]]
name = "Option"
field = [
"int64 option_id //选项id",
"string title //选项标题",
"string img_url //选项图片",
]
[[method.res.message]]
name = "Question"
field = [
"int64 qa_id //问题id",
"string title //题目",
"repeated Option options //选项集合",
]
[[method.res.message]]
name = "Cond"
field = [
"int64 cond_id //条件id",
"string desc //对应的语言描述",
"string web_url //web端url长度",
"string extra_param //附加参数",
"string pc_param //pc端附加参数",
"string go_text //去完成文案",
]
[[method.res.message]]
name = "LongImg"
field = [
"string img_url //图片地址",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"int64 id //长图id",
"int32 click_type //点击类型(1-整图点击,2-区域点击)",
"repeated HotZone hot_zone //点击区域",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string target_url // 目标地址",
"string pc_param //pc端的跳转参数",
]
[[method.res.message]]
name = "HotZone"
field = [
"int64 id //热区id",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"double click_x //点击区域x",
"double click_y //点击区域y",
"double click_w //点击区域w",
"double click_h //点击区域h",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string target_url // 目标地址",
"string pc_param //pc端的跳转参数",
]
[[method.res.message]]
name = "Cash"
field = [
"int32 price //单位奖品总价值",
"int32 currency //货币id标识",
]
[[method.res.message]]
name = "Gold"
field = [
"double price //单位奖品总价值",
"int32 currency //货币id标识",
]
[[method.res.message]]
name = "Coin"
field = [
"string custom_btn_text //自定义按钮文案",
"string custom_web_url //自定义web端url",
"string custom_extra_param //自定义app附加参数",
"string custom_pc_param //自定义pc附加参数",
]
[[method]]
name = "SaveLang"
desc = "保存活动多语言配置信息"
[method.req]
field = [
"bool to_view //是否需要去预览页",
"string campaign_hash_id //活动hash_id",
"string lang_mark //语言对应的唯一标识",
"string page_title //页面标题",
"string image_main //活动主图",
"string download_page_image //下载引导页的图片",
"string wechat_page_image //微信引导页的图片",
"string content_img //内容背景图",
"string web_bg_img //站外背景图地址",
"string warm_up_img //预热海报图",
"string dl_bg_img //引导页背景图",
"string dl_banner_img //下载页横幅自定义图",
"string dl_banner_app_logo //下载页横幅applogo图片",
"string dl_banner_app_name //下载页横幅app名称",
"string dl_banner_app_btn //下载页横幅app按钮文案",
"string share_text //分享文案",
"string share_img //分享图片",
"string rule //活动规则",
"repeated Cond conds //事件驱动的条件描述",
"Quit quit //赛事竞猜选项翻译",
"repeated Question questions //问题翻译",
"repeated LongImg long_imgs //长图配置",
"Cash cash //现金抽奖配置",
"int32 t_offset //时区偏移值",
"QaGroup qa_group //题库数据",
"repeated Talk talk_text //对话文案",
"Gold gold //金币任务配置",
"Coin coin //金币池配置",
"string topic_color //主题色",
"string pc_bg //pc背景",
"string rule_img //规则展示图",
"repeated Schedule schedules //赛事时间表",
"Uno uno //uno卡牌配置",
]
[[method.req.message]]
name = "Uno"
field = [
"repeated UnoCard red //红牌配置",
"repeated UnoCard yellow //黄牌配置",
"repeated UnoCard blue //黑牌配置",
"repeated UnoCard green //绿牌配置",
]
[[method.req.message]]
name = "UnoCard"
field = [
"int32 card_no //牌号",
"string title //跳转按钮文案",
"string img_url //图片地址",
"string web_url //Web跳转地址",
"string app_param //App跳转参数",
"string pc_param //pc跳转参数",
]
[[method.req.message]]
name = "Schedule"
field = [
"int32 id //id",
"repeated PkTeam pk_teams //队伍",
]
[[method.req.message]]
name = "PkTeam"
field = [
"int64 id //赛程id",
"repeated Team teams //队伍",
"string vs_img //比赛图",
"string desc //标题描述",
]
[[method.req.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.req.message]]
name = "Talk"
field = [
"int32 text_type //话术逻辑(1-进入活动时,2-20秒没有投喂时,3-50秒没有投喂时,4-存储的狗粮能投喂5次时)",
"string content //内容",
]
[[method.req.message]]
name = "QaGroup"
field = [
"string qa_group_id //题库hash_id",
"int32 qa_num //题库选取数量",
"string guide_group_id //引导组hash_id",
]
[[method.req.message]]
name = "Cash"
field = [
"int32 price //单位奖品总价值",
"int32 currency //货币id标识",
]
[[method.req.message]]
name = "Gold"
field = [
"double price //单位奖品总价值",
"int32 currency //货币id标识",
]
[[method.req.message]]
name = "Coin"
field = [
"string custom_btn_text //自定义按钮文案",
"string custom_web_url //自定义web端url",
"string custom_extra_param //自定义app附加参数",
"string custom_pc_param //自定义pc附加参数",
]
[[method.req.message]]
name = "Quit"
field = [
"string title //标题",
"repeated Option options //选项集合",
]
[[method.req.message]]
name = "Option"
field = [
"int64 option_id //选项id",
"string title //选项标题",
"string img_url //选项图片",
]
[[method.req.message]]
name = "Question"
field = [
"int64 qa_id //问题id",
"string title //题目",
"repeated Option options //选项集合",
]
[[method.req.message]]
name = "Cond"
field = [
"int64 cond_id //条件id",
"string desc //对应的语言描述",
"string web_url //web端url长度",
"string extra_param //附加参数",
"string pc_param //pc端附加参数",
"string go_text //去完成文案",
]
[[method.req.message]]
name = "LongImg"
field = [
"string img_url //图片地址",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"int64 id //长图id",
"int32 click_type //点击类型(1-整图点击,2-区域点击)",
"repeated HotZone hot_zone //点击区域",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
"int64 lang_source_id //语言长图源ID",
]
[[method.req.message]]
name = "HotZone"
field = [
"int64 id //热区id",
"string web_url //Web端的跳转地址",
"string app_param //App端的跳转参数",
"double click_x //点击区域x",
"double click_y //点击区域y",
"double click_w //点击区域w",
"double click_h //点击区域h",
"int32 target_type //跳转目标(1-指定地址,2-活动)",
"int64 target_id // 目标id",
"string pc_param //pc端的跳转参数",
]
[method.res]
field = [
"string view_link //预览地址",
]
[[method]]
name = "DestroyLang"
desc = "删除活动语言配置信息"
[method.req]
field = [
"string hash_id //语言配置信息ID",
]
[method.res]
field = [
]
[[method]]
name = "LangSelect"
desc = "活动语言选择"
[method.req]
field = [
"string campaign_hash_id //活动hash_id",
]
[method.res]
field = [
"repeated One list //选择",
]
[[method.res.message]]
name = "One"
field = [
"int32 lang_type //语言数字类型",
"string lang_mark //语言iso标准",
"bool selected //是否已经被使用",
]
[[method]]
name = "CampaignInfo"
desc = "活动信息"
[method.req]
field = [
"int64 project_id //项目id",
"string campaign_hash_id //活动hash_id",
"int64 campaign_id //活动id",
"string lang //语言标识",
]
[method.res]
field = [
"int64 id //活动ID",
"string hash_id //活动对外id",
"string title //活动标题",
"string page_title //页面标题",
"string fission_mark //玩法标识",
"string fission_title //活动类型说明",
"int64 start_time //提交的开始时间(+8时区算出来的时间戳)",
"int64 end_time //提交的结束时间(+8时区算出来的时间戳)",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线)",
"int32 t_offset //时间偏移量",
"repeated string lang_types //支持的语种",
"string share_img //分享图片",
"string link //活动地址",
"string img_host //图片全球地址",
"string pc_bg //pc适配背景",
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存;4-w2a互动广告)",
"int64 start_at //开始时间戳",
"int64 end_at //结束时间戳",
"int64 project_id //项目id",
]
[[method]]
name = "ShowReward"
desc = "显示的奖品数据"
[method.req]
field = [
"int64 campaign_id //活动id",
"string lang_mark //语言标识",
"string level_mark //用户标识",
"string show_lang //奖品展示的语言标识",
"string country_mark //国家标识",
]
[method.res]
field = [
"repeated Reward rewards //站内奖品",
"repeated Reward rewards_web //站外奖品",
"repeated Reward rewards_extra //额外奖品",
"repeated Reward rewards_newcomer //新人奖",
]
[[method.res.message]]
name = "Reward"
field = [
"int64 id //奖品id",
"string title //奖品名称",
"string img_url //奖品图片",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"int32 receive_type //发放类型(1-系统发放,2-联系客服)",
"repeated KV kv_data //键值数据",
"string contact //联系方式",
"string url //回调地址",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"string jump_url //跳转地址",
"int64 reward_id //奖品库奖品id",
"int32 register //开启下载助力(0-否,1-是)",
"double register_percent //每个下载获得的进度比率",
]
[[method.res.message]]
name = "KV"
field = [
"string key //键",
"string value //值",
]
[[method]]
name = "AdsStore"
desc = "创建Ads活动"
[method.req]
field = [
"string template_id //玩法模板ID",
"string project_id //项目ID",
"string title //活动标题",
"string page_title //页面标题",
"string bg_img //活动背景图",
"repeated KV delay_link_data //延迟深度链接自定义参数",
"repeated Reward rewards //奖品",
"int64 user_id //创建人id",
"int32 countdown //倒计时",
"Flip flip //翻牌配置(翻牌玩法必传)",
]
[[method.req.message]]
name = "KV"
field = [
"string key //键",
"string value //值",
]
[[method.req.message]]
name = "Reward"
field = [
"int64 reward_id //奖品库的奖品id",
"int32 odds //中奖率",
]
[[method.req.message]]
name = "Flip"
field = [
"string card_img //卡牌图片",
]
[method.res]
field = [
"int64 id //活动id",
"string hash_id //活动hash_id",
]
[[method]]
name = "AdsUpdate"
desc = "更新Ads活动"
[method.req]
field = [
"string hash_id //活动hash_id",
"string title //活动标题",
"string page_title //页面标题",
"string bg_img //活动背景图",
"repeated KV delay_link_data //延迟深度链接自定义参数",
"repeated Reward rewards //奖品",
"int32 countdown //倒计时",
"Flip flip //翻牌配置(翻牌玩法必传)",
]
[[method.req.message]]
name = "KV"
field = [
"string key //键",
"string value //值",
]
[[method.req.message]]
name = "Reward"
field = [
"int64 id //奖品id",
"int64 reward_id //奖品库的奖品id",
"int32 odds //中奖率",
]
[[method.req.message]]
name = "Flip"
field = [
"string card_img //卡牌图片",
]
[method.res]
field = [
"int64 id //活动id",
"string hash_id //活动hash_id",
]
[[method]]
name = "AdsShow"
desc = "Ads活动详情"
[method.req]
field = [
"string hash_id //活动hash_id",
]
[method.res]
field = [
"int64 id //活动ID",
"string hash_id //活动hash_id",
"int64 project_id //模版id",
"int64 temp_id //模版id",
"int32 t_offset //时间偏移量",
"int32 target //活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存;4-w2a互动广告)",
"int64 t_start //展示的开始时间时间戳",
"int64 t_end //展示的结束时间时间戳",
"string fission_mark //活动类型玩法标识",
"string title //活动标题",
"string cover_url //封面地址",
"string page_title //页面标题",
"string bg_img //活动背景图",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线)",
"repeated KV delay_link_data //延迟深度链接自定义参数",
"repeated Reward rewards //奖品",
"int32 countdown //倒计时",
"int64 fission_id //玩法id",
"Flip flip //翻牌配置(翻牌玩法必传)",
]
[[method.res.message]]
name = "KV"
field = [
"string key //键",
"string value //值",
]
[[method.res.message]]
name = "Reward"
field = [
"int64 id //奖品id",
"int64 reward_id //奖品库的奖品id",
"int32 odds //中奖率",
"string title //奖品名称",
"string img_url //奖品图片",
"repeated KV kv_data //奖品自定义参数数据",
"int32 receive_type //发放类型(1-系统发放,2-联系客服,3-客户端发放,4-实物)",
"string contact //联系方式",
"string url //回调地址",
]
[[method.res.message]]
name = "Flip"
field = [
"string card_img //卡牌图片",
]
[[method]]
name = "CampaignSelect"
desc = "活动选择列表"
[method.req]
field = [
"int64 project_id //项目id",
"string project_hash_id //项目hash_id",
"repeated int32 targets //活动目标集合",
"bool child //子活动",
"string child_with //绑定子活动的活动id",
"int32 child_type //子活动类型(1-邀新竞赛,2-签到,3-抽奖,4-盲盒,5-超级任务)",
"string temp_hash_id //模版hash_id",
"repeated int32 status //活动状态(1-待发布,2-已发布,3-已下线,4-预发布)",
]
[method.res]
field = [
"repeated One list //列表数据",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //活动ID",
"string hash_id //活动对外id",
"string title //活动标题",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线)",
"int32 child_type //子活动类型(1-邀新竞赛,2-签到,3-抽奖,4-盲盒,5-超级任务)",
]
[[method]]
name = "RewardDetail"
desc = "奖品详情"
[method.req]
field = [
"string hash_id //活动hash_id",
]
[method.res]
field = [
"int32 reward_group //奖品分组类型(1-常规奖品,2-用户类型奖品,3-语言奖品,4-语言+用户类型奖品,5-国家奖品)",
"repeated Reward normal //常规奖品",
"repeated UserLevelOne user_level //用户类型奖品",
"repeated LangOne langs //语言奖品",
"repeated LangUserLevelOne lang_user_level //语言+用户类型奖品",
"repeated CountryOne country //国家奖品",
"repeated Reward step_reward //阶梯奖品",
"repeated Reward extra_reward //额外奖品",
"repeated Reward newcomer_reward //新人奖品",
"int64 all //活动总预算",
"int64 all_use //已使用的活动预算",
"repeated string reward_type //奖品tab集合(app-活动主奖品,app_sign-签到活动主奖品,extra-额外奖品,step-阶梯奖,newcomer-新人奖,pool-奖池记录,task-任务奖励)",
"int32 show_all //是否展示总预算模块(0-否,1-是)",
"int32 show_select //是否显示选择数(0-否,1-是)",
"repeated Reward task_reward //任务奖品",
"repeated Pool pools //奖池记录",
"repeated Schedule schedules //赛程记录",
"repeated UnoCard uno_cards //uno卡牌奖励",
]
[[method.res.message]]
name = "UnoCard"
field = [
"int64 id //牌组id",
"string mark //牌组标识",
"string title //奖品标题",
"int64 stock //奖品库存",
"int64 remain //剩余库存",
"int64 pre_intact_num //待合成奖品数",
"int64 intact_num //完整奖品数",
]
[[method.res.message]]
name = "Schedule"
field = [
"int64 id //赛程id",
"int64 vs_at //开赛时间",
"int64 vote_start //投票开始时间",
"int64 vote_end //投票结束时间",
"repeated Team teams //队伍数据",
"repeated Vote votes //投票数据",
"int32 win_type //结算获奖类型(1-队伍胜利,2-平局)",
"int64 win_team_id //胜利队伍id",
"int64 pre_reward_num //预计发放奖励数",
"int64 reward_num //实际领取奖励数",
"int32 tz //时区",
]
[[method.res.message]]
name = "Vote"
field = [
"int32 win_type //结算获奖类型(1-队伍胜利,2-平局)",
"int64 win_team_id //队伍id",
"int64 vote_num //投票数",
"int64 vote_user_num //投票数",
]
[[method.res.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method.res.message]]
name = "Pool"
field = [
"int64 id //id标识",
"string title //场次说明",
"int32 status //状态(1-进行中 2-领奖中,3-已结算)",
"int32 init_coin //奖池初始金额",
"int64 user_coin //用户投放金币数",
"int32 init_use //初始投放次数",
"int64 join_num //投放次数",
"int64 one_use_coin //用户单次可领取的金币数",
"int64 join_user_num //投放人数",
"int64 get_num //领奖总人数",
"int64 join_avg //平均每人发放金币数",
"int64 get_coin //领取的总金币数",
]
[[method.res.message]]
name = "Reward"
field = [
"int64 id //奖品id",
"string title //奖品标题",
"int64 stock //奖品库存",
"int64 remain //剩余库存",
"int64 given //已发放奖品数",
"bool can_up //是否可更新库存",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int64 select_num //选择数",
"string task_title //任务标题",
"int32 sign_day //签到天数",
]
[[method.res.message]]
name = "UserLevelOne"
field = [
"int64 level_id //用户类型id",
"string level_title //用户类型标题",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "LangOne"
field = [
"string lang_mark //语言标识",
"repeated Reward rewards //奖品",
]
[[method.res.message]]
name = "LangUserLevelOne"
field = [
"string lang_mark //语言标识",
"repeated UserLevelOne level_list //奖品",
]
[[method.res.message]]
name = "CountryOne"
field = [
"string country_mark //国家标识",
"repeated Reward rewards //奖品",
]
[[method]]
name = "UpdateStock"
desc = "修改奖品库存"
[method.req]
field = [
"int64 id //奖品id",
"int32 stock //修改的库存值",
"int64 user_id //修改的",
"string ip //ip地址",
]
[method.res]
[[method]]
name = "CampaignTz"
desc = "活动时区数据"
[method.req]
field = [
"int64 id //活动id",
]
[method.res]
field = [
"repeated One list //语言数据",
]
[[method.res.message]]
name = "One"
field = [
"string mark //语言标识",
"int32 t_offset //语言对应的时区",
]
[[method]]
name = "CampaignRewardType"
desc = "活动奖品类型"
[method.req]
field = [
"int64 id //活动id",
]
[method.res]
field = [
"repeated One list //语言数据",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //奖品id",
"int32 reward_type //奖品类型",
]
[[method]]
name = "ChildList"
desc = "子活动列表"
[method.req]
field = [
"int32 page //当前页",
"int32 per_page //每页条数",
"int64 project_id //项目id",
"string project_hash_id //项目hash_id",
"string title //活动标题筛选",
"repeated int32 status //活动状态(1-待发布,2-已发布,3-已下线)",
"repeated int32 child_type //子活动类型",
"repeated int64 fission_id //活动类型标识",
"repeated int64 campaign_id //绑定的活动id",
"int64 start //活动时间开始时间戳",
"int64 end //活动时间结束时间戳",
"repeated int64 pids //上级活动id",
]
[method.res]
field = [
"repeated One list //列表数据",
"int64 total //列表总数"
]
[[method.res.message]]
name = "One"
field = [
"int64 id //活动ID",
"string hash_id //活动对外id",
"string title //活动标题",
"int64 fission_id //玩法ID",
"string fission_mark //活动类型玩法标识",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"int32 status //发布状态(1-待发布,2-已发布,3-已下线,4-预发布)",
"int32 child_type //子活动类型",
"string bind_campaign //绑定的活动名称",
"int32 has_report //是否有报表",
]
[[method]]
name = "ChildStore"
desc = "子活动列表"
[method.req]
field = [
"string project_id //项目id",
"int64 user_id //员工id",
"string ip //操作ip",
"string title //活动标题",
"int64 fission_id //玩法id",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"int32 child_type //子活动类型",
"int32 play_type //子活动玩法类型(1-连续签到/随机,2-次数签到/按概率)",
"repeated Reward rewards //奖品",
"TaskGroup win_1 //任务组1",
"TaskGroup win_2 //任务组2",
"TaskGroup win_3 //任务组3",
]
[[method.req.message]]
name = "TaskGroup"
field = [
"int32 open //是否开启",
"int32 chance //完成任务获得的数量(如:骰子数)",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"repeated Cond conds //任务",
]
[[method.req.message]]
name = "Reward"
field = [
"int64 reward_id //奖品库的奖品id",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"int32 odds //中奖率",
"string jump_url //跳转地址",
"int32 campaign_limit //活动内单个用户可获取该奖品次数",
"int32 register //开启注册助力(0-否,1-是)",
"double register_percent //每个注册获得的进度比率",
"double init_percent //初始助力进度",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
]
[[method.req.message]]
name = "Cond"
field = [
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"string desc //条件描述",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 view_type //广告观看路径(1-APP内,2-APP外)",
"repeated string lang_marks //限制的语言集合",
"int32 watch_sec //观看秒数",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"int32 go_show //是否显示“去完成按钮”(0-否,1-是)",
"string ads_strategy_id //策略id",
"int32 is_super //是否超级任务(0-否,1-是)",
"int32 has_pre //是否有前置条件(0-否,1-是)",
"int32 pre_cond //前置任务(1-点击任务icon,2-完成1个任务后,3-完成2个任务后,4-进入活动30秒后)",
"int32 expired_min //过期分钟数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"int32 sort //排序",
"string pc_param //pc端附加参数",
]
[method.res]
field = [
"int64 id //id",
"string hash_id //活动id",
]
[[method]]
name = "ChildUpdate"
desc = "更新子活动"
[method.req]
field = [
"int64 id //活动id",
"string hash_id //活动id",
"int64 user_id //员工id",
"string ip //操作ip",
"string title //活动标题",
"int64 fission_id //玩法id",
"int64 start_time //开始时间时间戳",
"int64 end_time //结束时间时间戳",
"int32 child_type //子活动类型",
"int32 play_type //子活动玩法类型(1-连续签到/随机,2-次数签到/按概率)",
"repeated Reward rewards //奖品",
"TaskGroup win_1 //任务组1",
"TaskGroup win_2 //任务组2",
"TaskGroup win_3 //任务组3",
]
[[method.req.message]]
name = "TaskGroup"
field = [
"int32 open //是否开启",
"int32 chance //完成任务获得的数量(如:骰子数)",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"repeated Cond conds //任务",
]
[[method.req.message]]
name = "Reward"
field = [
"int64 id //奖品id",
"int64 reward_id //奖品库的奖品id",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"int32 odds //中奖率",
"string jump_url //跳转地址",
"int32 campaign_limit //活动内单个用户可获取该奖品次数",
"int32 register //开启注册助力(0-否,1-是)",
"double register_percent //每个注册获得的进度比率",
"double init_percent //初始助力进度",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
]
[[method.req.message]]
name = "Cond"
field = [
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"string desc //条件描述",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 view_type //广告观看路径(1-APP内,2-APP外)",
"repeated string lang_marks //限制的语言集合",
"int32 watch_sec //观看秒数",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"int32 go_show //是否显示“去完成按钮”(0-否,1-是)",
"string ads_strategy_id //策略id",
"int32 is_super //是否超级任务(0-否,1-是)",
"int32 has_pre //是否有前置条件(0-否,1-是)",
"int32 pre_cond //前置任务(1-点击任务icon,2-完成1个任务后,3-完成2个任务后,4-进入活动30秒后)",
"int32 expired_min //过期分钟数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"int32 sort //排序",
"string pc_param //pc端附加参数",
]
[method.res]
field = [
"int64 id //id",
"string hash_id //活动id",
]
[[method]]
name = "ChildShow"
desc = "子活动活动"
[method.req]
field = [
"int64 id //id",
"string hash_id //活动id",
]
[method.res]
field = [
"string title //活动标题",
"int64 fission_id //玩法id",
"int64 t_start //开始时间时间戳",
"int64 t_end //结束时间时间戳",
"int32 child_type //子活动类型",
"int32 play_type //子活动玩法类型(1-连续签到/随机,2-次数签到/按概率)",
"repeated Reward rewards //奖品",
"TaskGroup win_1 //任务组1",
"TaskGroup win_2 //任务组2",
"TaskGroup win_3 //任务组3",
]
[[method.res.message]]
name = "TaskGroup"
field = [
"int32 open //是否开启",
"int32 chance //完成任务获得的数量(如:骰子数)",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"repeated Cond conds //任务",
]
[[method.res.message]]
name = "Reward"
field = [
"int64 id //活动奖品id",
"int64 reward_id //奖品库的奖品id",
"int32 stock //奖品库存",
"int32 invite_num //需要邀请的人数",
"int32 reward_num //获得的奖品数量",
"int32 is_thank //是否谢谢参与(0-否,1-是)",
"int32 score //领取奖品的分数",
"int32 sign_day //签到天数",
"int32 collect_num //收集碎片数",
"int32 is_super //是否超级大奖(0-否,1-是)",
"repeated KV kv_data //奖品自定义参数数据",
"string title //奖品名称",
"string img_url //奖品图片",
"int32 receive_type //发放类型(1-系统发放,2-联系客服,3-客户端发放,4-提交表单)",
"string contact //联系方式",
"string url //回调地址",
"int32 help //开启下载助力(0-否,1-是)",
"double help_percent //每个下载获得的进度比率",
"int32 click //开启点击助力(0-否,1-是)",
"double click_percent //每个点击助力获得的进度比率",
"double click_percent_limit //可获得的最大点击助力获得的进度比率",
"int32 open //开启拉日活(0-否,1-是)",
"double open_percent //每个拉日活力获得的进度比率",
"double open_percent_limit //可获得的最大拉日活获得的进度比率",
"string lang_mark //奖品语言标识",
"int32 odds //中奖率",
"string jump_url //跳转地址",
"string form_title //表单标题",
"int32 campaign_limit //活动内单个用户可获取该奖品次数",
"int32 register //开启注册助力(0-否,1-是)",
"double register_percent //每个注册获得的进度比率",
"double init_percent //初始助力进度",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
]
[[method.res.message]]
name = "Cond"
field = [
"string event //事件关键字",
"string event_key //事件key",
"string event_val //事件值",
"string desc //条件描述",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
"int32 task_limit //任务次数限制",
"int32 chance //完成任务获得的数量(如:骰子数)",
"int32 trigger_type //事件触发条件(1-点击去完成按钮,2-全局监听)",
"int32 day_limit //每日任务次数限制(0为不限制)",
"repeated int64 level_ids //限制的用户类型id集合",
"int32 event_type //事件来源(1-自定义事件,2-广告事件)",
"int32 view_type //广告观看路径(1-APP内,2-APP外)",
"repeated string lang_marks //限制的语言集合",
"int32 watch_sec //观看秒数",
"int32 week_limit //广告观看次数",
"int32 week_num //观看秒数",
"int32 open_jump //开启活动跳转(0-否,1-是)",
"string web_url //web端url长度",
"string extra_param //附加参数",
"int32 go_show //是否显示“去完成按钮”(0-否,1-是)",
"string ads_strategy_id //策略id",
"int32 is_super //是否超级任务(0-否,1-是)",
"int32 has_pre //是否有前置条件(0-否,1-是)",
"int32 pre_cond //前置任务(1-点击任务icon,2-完成1个任务后,3-完成2个任务后,4-进入活动30秒后)",
"int32 expired_min //过期分钟数",
"Reward reward //奖品",
"string prop_mark //奖励的道具类型(chance-道具数量,reward-奖品)",
"int32 sort //排序",
"string pc_param //pc端附加参数",
]
[[method.res.message]]
name = "KV"
field = [
"string key //对应字段名",
"string value //对应字段值",
]
[[method]]
name = "TaskCenterJump"
desc = "任务中心活动跳转地址"
[method.req]
field = [
"string center_hash_id //任务中心hash_id",
"int64 module_id //模块id",
"repeated int64 cpn_ids //活动id",
]
[method.res]
field = [
"repeated One list //列表数据",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //活动ID",
"string jump_url //跳转地址",
]
[[method]]
name = "CondList"
desc = "活动任务数据"
[method.req]
field = [
"repeated int64 ids //任务id",
]
[method.res]
field = [
"repeated One list //数据集合",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //任务id",
"string desc //条件描述",
"string event //事件关键字",
"repeated Cond conds //事件key",
]
[[method.res.message]]
name = "Cond"
field = [
"string event_key //事件key",
"string event_val //事件值",
"int32 if_cond //等式(0-等于,1-大于等于,2-累计)",
]
[[method]]
name = "Campaigns"
desc = "获取活动数据"
[method.req]
field = [
"int64 project_id //项目id",
"repeated int64 campaign_ids //活动集合",
]
[method.res]
field = [
"repeated One list //列表数据",
]
[[method.res.message]]
name = "One"
field = [
"int64 id //活动id",
"string title //活动标题",
]
[[method]]
name = "SetLvApi"
desc = "设置动态用户等级动态api"
[method.req]
field = [
"string project_hash_id //项目hash_id",
"int64 url_id //地址id",
]
[method.res]
[[method]]
name = "GetLvApi"
desc = "获取动态用户等级动态api"
[method.req]
field = [
"string project_hash_id //项目hash_id",
]
[method.res]
field = [
"int64 url_id //地址id",
"string title //地址备注",
]
[[method]]
name = "VsSettlement"
desc = "赛事竞猜结算"
[method.req]
field = [
"string campaign_hash_id //活动hash_id",
"int64 schedule_id //赛事id",
"int64 win_team_id //胜利队伍id",
"repeated Score scores //队伍得分",
]
[[method.req.message]]
name = "Score"
field = [
"int64 team_id //队伍id",
"string score //胜利得分",
]
[method.res]
field = [
"int32 schedule_id //赛程id",
"PkTeam pk_team //比赛数据",
]
[[method.res.message]]
name = "PkTeam"
field = [
"int64 id //比赛id",
"repeated Team teams //队伍集合",
]
[[method.res.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
]
[[method]]
name = "VsSettlementInfo"
desc = "赛事竞猜结算"
[method.req]
field = [
"string campaign_hash_id //活动hash_id",
"int64 schedule_id //赛事id",
]
[method.res]
field = [
"int32 win_type //结算获奖类型(1-队伍胜利,2-平局)",
"int64 win_team_id //胜利队伍id",
"repeated Team teams //队伍数据",
]
[[method.res.message]]
name = "Team"
field = [
"int64 id //队伍id",
"string name //队伍名称",
"string logo_img //队伍图标",
"string score //胜利得分",
]
[[method]]
name = "ActionList"
desc = "行为列表"
[method.req]
field = [
"int64 campaign_id //活动id",
]
[method.res]
field = [
"repeated int32 action_types //行为集合",
]