[service] name = "WScript" desc = "脚本服务" [[method]] name = "Boot" desc = "运行脚本" [method.req] field = [ "string scene //处理场景", "string json_data //文件后缀", ] [method.res] field = [ "string task_id //任务id", ] [[method]] name = "RefreshDayLimit" desc = "刷新每日限制" [method.req] field = [ "string hash_id //用户hash_id", "string campaign_hash_id //活动hash_id", ] [method.res] field = [] [[method]] name = "NotifyList" desc = "奖品回调列表" [method.req] field = [ "int32 page //当前页", "int32 per_page //每页条数", "string campaign_hash_id //项目hash_id", "string reward_hash_id //奖品记录hash_id", ] [method.res] field = [ "repeated One list //列表数据", "int64 total //列表总数" ] [[method.res.message]] name = "One" field = [ "string hash_id //任务ID", "int64 created_at //创建时间", "int64 last_push //最后推送时间", "string body //请求数据", "string notify_url //请求地址", "repeated string resp //请求结果", ] [[method]] name = "EtcdKey" desc = "查看etcd的key" [method.req] field = [ "string prefix //前缀", ] [method.res] field = [ "repeated KV kvs //数据", ] [[method.res.message]] name = "KV" field = [ "string key //键", "string value //值", ] [[method]] name = "EventFlow" desc = "查看事件记录" [method.req] field = [ "string project_hash_id //项目hash_id", ] [method.res] field = [ "repeated One list //数据", ] [[method.res.message]] name = "One" field = [ "string link_hash_id //深度链接hash_id", "string device_id //设备id", "string user_id //用户ID", "string event_title //事件名称", "string ip_address //ip", "string os //os", "string os_version //os_version", "string device_model //device_model", "string event_data //event_data", "int64 created_at //创建时间", "int32 source //来源(1-自然流量,2-深度链接,3-活动)", "string campaign_hash_id //活动hash_id", ] [[method]] name = "ClearDevice" desc = "清除设备信息" [method.req] field = [ "string hash_id //用户hash_id", "string project_hash_id //项目hash_id", "string campaign_hash_id //活动hash_id", ] [method.res] [[method]] name = "RefreshView" desc = "重新体验玩法" [method.req] field = [ "string campaign_hash_id //活动hash_id", ] [method.res] [[method]] name = "ErrLog" desc = "错误日志记录" [method.req] field = [ "string api_url //请求的接口", "string data //请求数据", "string link_url //当前页面地址", "string msg //返回数据", ] [method.res] [[method]] name = "PointsLog" desc = "领扣积分请求" [method.req] field = [ "int32 page //当前页", "int32 per_page //每页条数", "string campaign_hash_id //项目hash_id", ] [method.res] field = [ "repeated One list //列表数据", "int64 total //列表总数" ] [[method.res.message]] name = "One" field = [ "int64 id //请求id", "int64 created_at //创建时间", "string req //请求数据", "string req_url //请求地址", "string token //请求token", "string req_header //请求头", "string resp //返回数据", "string err_msg //错误信息", ] [[method]] name = "UserBehavior" desc = "用户行为日志" [method.req] field = [ "string api_url //请求的接口", "string desc //接口描述", "int64 user_id //登陆用户id", "int64 company_id //登陆用户id", "string project_hash_id //项目hash_id", "string ip //操作ip", "string ua_data //部分ua头数据", "string req //请求数据", "string res //操作结果", ] [method.res] [[method]] name = "RewardPushLog" desc = "奖品推送日志" [method.req] field = [ "int32 page //当前页", "int32 per_page //每页条数", "string source //来源", "int64 first_id //来源一级id", "int64 second_id //来源二级id", "int64 relate_id //关联记录id", ] [method.res] field = [ "repeated One list //列表数据", "int64 total //列表总数" ] [[method.res.message]] name = "One" field = [ "int64 id //请求id", "int64 created_at //创建时间", "string req //请求数据", "string req_url //请求地址", "string token //请求token", "string req_header //请求头", "string resp //返回数据", "string err_msg //错误信息", "int64 req_time //请求时长(单位:ms)", ]