简要描述:

  • 众筹海报

请求URL:

GET/route=plugin.crowdfunding.frontend.activity-member.promotePoster

参数:

参数名 是否必须 类型 说明
new_poster_id int 海报id
activity_member_id int 活动id

返回示例:

正确时返回:

{
  "poster_data": [
    {
      "width": 200,
      "height": 200,
      "top": 10,
      "left": 314,
      "type": "head",
      "size": 0,
      "src": "http://localhost:8788/static/images/photo-mr.jpg"
    },
    {
      "color": "#161515",
      "size": 40,
      "width": 260,
      "height": 60,
      "top": 0,
      "left": 0,
      "type": "nickname",
      "src": "12345678901"
    },
    {
      "color": "#250202",
      "size": 40,
      "width": 220,
      "height": 60,
      "top": 360,
      "left": 88,
      "type": "invite",
      "src": "0TH940QA"
    },
    {
      "color": "#100909",
      "size": 40,
      "width": 108,
      "height": 60,
      "top": 570,
      "left": 356,
      "type": "mid",
      "src": 1
    },
    {
      "src": "http://localhost:8788/static/upload/image/51b29c4a6656e5c7326a1e71f1cbf61b.png",
      "src_url": "",
      "logo_type": 0,
      "width": 200,
      "height": 200,
      "top": 714,
      "left": 20,
      "type": "logo",
      "size": 0
    },
    {
      "width": 200,
      "height": 200,
      "top": 726,
      "left": 326,
      "type": "qr",
      "size": 0,
      "src": "http://localhost:8788/static/upload/images/1/2021/12/925aa752bdba13095368439a044a932b.png"
    }
  ],
  "background": {
    "type": "background",
    "src": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg"
  },
  "new": true
}

参数名 类型 说明
poster_data int 海报数据
background.src string 背景图
new bool 新海报