>生成海报图片推广获取参数
~~~[api]
get:/index.php/recommend/Apiposter/member_getInfo
<<<
success
{
"err": 0,
"count": 1,
"data": [
{
"id": "1563444720923",
"bgUrl": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png",
"elem": {
"headImg": 1,
"headText": 1,
"qrCode": 1,
"productImg": 1,
"productText": 1
},
"headImg": {
"x": 230,
"y": 100,
"w": 150,
"h": 150,
"headImg": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png",
"opacity": 10
},
"headText": {
"color": "#000000",
"font_size": 20,
"x": 200,
"y": 260,
"opacity": 10,
"text": "COWCMS-,#nickname#"
},
"qrCode": {
"x": 210,
"y": 695,
"w": 150,
"h": 150,
"opacity": 10
},
"productImg": {
"x": 55,
"y": 350,
"w": 495,
"h": 200,
"opacity": 10
},
"productText": {
"color": "#000000",
"font_size": 20,
"x": 210,
"y": 575,
"opacity": 10,
"text": "COWCMS-#title#"
}
}
]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~
>获取公众号二维码
~~~[api]
get:/index.php/recommend/Apiposter/get_qrcode
<<<
success
{
"err": 0,
"count": 1,
"data": {
"wx_qrcode": "http://tp.tybxkj.cc/public/Upload/administrator/1//2zb6f61qoie1564999354212.jpg"
}
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~
>分享赠送积分
~~~[api]
get:/index.php/recommend/Apiposter/member_sharing_gifts_point
*string:sign_name=curriculum#记录的内容标识
*int:sign_id=1#内容的id,如果sign_name为product表示产品的id,sign为curriculum表示课程的id
<<<
success
{
"err": 0,
"data": {}
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~
>获取分享的内容
~~~[api]
get:/index.php/recommend/Apiposter/member_sharing_getInfo
*string:sign_name=curriculum#记录的内容标识
*int:sign_id=1#内容的id,如果sign_name为product表示产品的id,sign为curriculum表示课程的id
<<<
success
{
"err": 0,
"data": {
"title": "分享标题",
"content": "分享内容",
"thumb": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png"
}
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "错误信息"
}
~~~