分享今日积分|总积分排名接口.md 875 Bytes

##分享今日积分/总积分排名接口 接口地址:/share/rank

POST参数:

参数名 是否必须 说明
course_id 课程id
type 分享类型 "today" or "total"
image_name 图片名
score 积分
rank 排名
course_cover 课程封面url
course_title 课程标题
exceed 超过了多少人

返回值:

{
    "msg":"success",
    "url":"http://192.168.0.104/share/wechat/today/rank/12345/c5e6d860-3825-4e93-97af-f4c0e935b262"
}

##分享成功加金币接口

接口地址:/share/success

POST参数:

参数名 是否必须 说明
resource 课程id
platform 分享平台

返回值:

{
  "addCount": 0,
  "count": 100
}