简要描述:

  • 新海报会员海报(前端生成)

请求域名:

  • http://xx.com

请求URL:

member.qrcode.get-poster

参数:

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "poster_type": [
            {
                "width": 200,
                "height": 200,
                "top": 0,
                "left": 436,
                "type": "head",
                "size": 0,
                "src": "https://thirdwx.qlogo.cn/mmopen/vi_32/VXOnADMicS4tys5PWqWzicX3iaYDMUoxGyll2PygzicaqB9D7D0X6AWy10xMThGckkwms225Rzy4FwC15bwKuE5JoA/132"
            },
            {
                "width": 200,
                "height": 200,
                "top": 804,
                "left": 54,
                "type": "nickname",
                "size": 40,
                "color": "#f00",
                "src": "陈家俊?"
            },
            {
                "width": 200,
                "height": 200,
                "top": 736,
                "left": 436,
                "type": "qr",
                "h5_link": "",
                "size": 0,
                "src": "http://dev15.yunzmall.com/storage/app/public/qr/shop_25_163954.png"
            },
            {
                "width": 200,
                "height": 200,
                "top": 376,
                "left": 174,
                "type": "img",
                "src": "http://dev15.yunzmall.com/static/upload/newimage/abe46eca98c6e33fa82e3d6185bb3eb6.png",
                "src_url": "https://dev15.yunzmall.com/static/upload/newimage/abe46eca98c6e33fa82e3d6185bb3eb6.png",
                "size": 0
            }
        ],
        "background": {
            "src": "http://dev15.yunzmall.com/static/upload/images/25/2020/12/i5L4hCACP9ZIoz4paP9o9pprfpE1o4.jpg"
        }
    }
}

错误时返回:

{
    "result": 0,
    "msg": "图片生成失败",
    "data": []
}

返回参数说明:

参数名 类型 说明 st
background string 背景图
head string 头像
nickname string 昵称
img string 图片

备注:

  • 更多返回错误代码请看首页的错误代码描述