Page History

Releasemoment

Last edited by 赵家龙

返回

发布朋友圈

URL: http://120.92.61.152:8080/Daren/moment/releaseMoment.action


请求方式: HTTP POST


请求参数说明:

参数名 参数类型 必选 参数说明
appId String true 应用ID
sid String true sid
type String true 0:纯文本, 1:含图片, 2:含视频, 3:含H5,4:购买商品
text String false 文本
Image1 Blob false 图片1
Image9 Blob false 图片9
picArray String false 新版图片上传参数
address String true 发布时的定位
title String false H5标题
icon String false H5角标
url String false H5链接
desc String false H5链接描述
shareType String false 分享类型
shareExtInfo String false 分享扩展字段

picArray 请求格式: JSON


样例:

[
    {
        "imageUrl":"https://yweb1.cnliveimg.com/open/2017/0921/1505976580560.jpg",
        "imageWidth":"100",
        "imageHeight":"100"
    },
    {
        "imageUrl":"https://yweb1.cnliveimg.com/open/2017/1023/1508745247331.jpg",
        "imageWidth":"100",
        "imageHeight":"100"
    }
]

接口返回格式: JSON


返回格式样例:

{
  "data": {
  },
  "errorMessage": "成功",
  "errorCode": "0"
}