获取家书最新的文章

更新时间:2022-01-18 16:21:15

接口说明

获取家书最新的文章

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/m/letter/newest-article

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenantCode body string 租户CODE
letterIds body array 家书ID集合
privateKey query string 鉴权密钥

请求示例

{
  "tenantCode": "retesting",
  "letterIds": [
    "3a017d3e-b94f-056d-7f53-b094cd9fcb1b",
    "3a0169c1-bfce-7296-1c20-797662a8a927",
    "3a0164da-5955-13e3-159b-6c6f5803bb32",
    "3a0164a0-3664-a640-a7f2-1949876d1baf",
    "39ff954f-8ddd-02fa-1a79-3886ada833ae",
    "3a0151be-488f-b6a3-23bd-97ae8209ec72",
    "3a0163a4-63c5-2418-9675-54a819ee3cfe",
    "3a00f449-18ed-9da9-cc53-b350d953c62f",
    "3a00f430-0b02-7c69-44a3-6303bac7b94b",
    "3a010bfc-252a-b91a-3f4c-78cc6d98fce0",
    "3a015914-fea0-dcb8-29fc-56d5a845d4ef",
    "3a012db1-c4a4-92e8-c9ad-f353139449f2",
    "3a0154da-2a90-d21b-9462-964640de5e25",
    "3a013bb8-6ef1-fcad-e01c-0d798828b5db",
    "3a013bb5-7396-9a18-5b1c-c77463652e45",
    "3a013bac-59c6-7241-b74e-e276e5439981",
    "3a013b27-0870-f825-96db-976c438e7ce4",
    "3a011ca6-6699-aca3-0684-8c1871e22ef5"
  ]
}

返回成功示例

{
  "errcode": 0,
  "errmsg": "获取成功",
  "data": [
    {
      "id": "3a017d40-10ab-0aae-bbb7-d6d88fca9f62",
      "letter_id": "3a017d3e-b94f-056d-7f53-b094cd9fcb1b",
      "title": "小帅的测试",
      "sort": "1",
      "content": "<p>来吧测试 2022年测试</p>",
      "thumb": "",
      "created_on": "2022-01-18 10:45:28"
    },
    {
      "id": "3a017832-7365-d03a-1e00-51a575280e19",
      "letter_id": "3a0169c1-bfce-7296-1c20-797662a8a927",
      "title": "12",
      "sort": "7",
      "content": "121321",
      "thumb": "",
      "created_on": "2022-01-17 11:12:30"
    },
    {
      "id": "3a0164da-819e-d9e0-f8a8-ad54c227abaf",
      "letter_id": "3a0164da-5955-13e3-159b-6c6f5803bb32",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "",
      "created_on": "2022-01-13 17:03:39"
    },
    {
      "id": "3a0164a0-8040-c2ba-784a-13cb6344227b",
      "letter_id": "3a0164a0-3664-a640-a7f2-1949876d1baf",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "",
      "created_on": "2022-01-13 16:00:18"
    },
    {
      "id": "3a016454-0b49-b9c5-faf1-abffdb97bc2e",
      "letter_id": "39ff954f-8ddd-02fa-1a79-3886ada833ae",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "",
      "created_on": "2022-01-13 14:36:47"
    },
    {
      "id": "3a01643c-d331-bef3-93aa-1882122ad08b",
      "letter_id": "3a0151be-488f-b6a3-23bd-97ae8209ec72",
      "title": "11",
      "sort": "13",
      "content": "<p>11</p>",
      "thumb": "",
      "created_on": "2022-01-13 14:11:26"
    },
    {
      "id": "3a0163a5-3b38-57cb-9743-896694bb73b2",
      "letter_id": "3a0163a4-63c5-2418-9675-54a819ee3cfe",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "https://test-kefu-zs.oss-cn-shenzhen.aliyuncs.com/retesting/myapplication/2022/01/13/3a0163a5-356d-fb0c-2e10-9abcc8c4a701_orig.jpg",
      "created_on": "2022-01-13 11:25:51"
    },
    {
      "id": "3a0163a0-08a2-9509-1970-b414d555b046",
      "letter_id": "3a00f449-18ed-9da9-cc53-b350d953c62f",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "https://test-kefu-zs.oss-cn-shenzhen.aliyuncs.com/retesting/myapplication/2022/01/13/3a01639f-fdc3-a5d0-52ce-e6a702b537b9_orig.jpg",
      "created_on": "2022-01-13 11:20:10"
    },
    {
      "id": "3a01639c-9a88-be99-54fa-d05978e25033",
      "letter_id": "3a00f430-0b02-7c69-44a3-6303bac7b94b",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "",
      "created_on": "2022-01-13 11:16:25"
    },
    {
      "id": "3a015a39-ff42-3af0-dbd2-eb3a4a795e81",
      "letter_id": "3a010bfc-252a-b91a-3f4c-78cc6d98fce0",
      "title": "素材3",
      "sort": "3",
      "content": "<h2 style=\"font-size: 32px; font-weight: 100; padding: 0px; margin: 0px; line-height: 45px; width: auto; height: auto; color: rgb(0, 0, 0);\">这是我要给你的&nbsp;宇宙级别的浪漫<span class=\"tag\" style=\"display: inline-block; font-size: 12px; background-color: #CCCCCC; color: #FFFFFF; padding: 3px 5px; line-height: 14px; vertical-align: middle; margin-left: 10px;\">好句子</span></h2><p>时间:2021-06-09&nbsp;11:06&nbsp;来源:原创&nbsp;作者:指上菁芜&nbsp;阅读:113次</p><p><img img_height=\"516\" img_width=\"777\" inline=\"0\" src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwoqT86FTgR1OvwTYA2aXibDa56ibVL8FBBj7ZpOyZvv4icNjtosA9bRh8A%2F0\" style=\"border: none; max-width: 600px;\"/></p><p class=\"pgc-img-caption\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\">&nbsp;</p><p data-track=\"446\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\"><br/><span style=\"letter-spacing: 1px;\">1.其实分别也没有那么可怕,&nbsp;65万个小时后,当我们氧化成风,&nbsp;就能变成同一杯啤酒上两朵相邻的泡沫,&nbsp;就能变成同一盏路灯下两粒依偎的尘埃。宇宙中的原子并不会湮灭,而我们,也终究会在一起。</span></p><p data-track=\"447\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\"><span style=\"letter-spacing: 1px;\">--物理学家Lawrence.&nbsp;krauss</span></p><p data-track=\"448\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\">&nbsp;</p><p data-track=\"449\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\">&nbsp;</p><p data-track=\"450\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\"><span style=\"letter-spacing: 1px;\">2.地球正一点点的疏离月亮。据说,每一百万年就会陌生一秒,早在25亿年前,我们便开始了漫长的别离。</span></p><p data-track=\"451\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; list-style: none;\">&nbsp;</p><p><img img_height=\"2161\" img_width=\"1080\" inline=\"0\" src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwicFzy6BFrFxEKZEUpmCQxLzeQA4eOribKJaVfMfIw6oic1wyfGxtjxWjw%2F0\" style=\"border: none; max-width: 600px;\"/></p><p>gif</p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_gif%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdw4xvWhRmvHhx0icZtpn4Ij1FGGNhg9ddUd0rCbvLQS7OHfqvB605bpAA%2F0%3Fwx_fmt%3Dgif\" title=\"\" alt=\"gif图.gif\"/></p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_gif%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwYChQGUcmn7ibfcnKu3mTvxsRHhL4xSXAj4f8iaudofjvWJulhQI8ryTg%2F0%3Fwx_fmt%3Dgif\" title=\"\" alt=\"gif图2.gif\"/></p><p>1M以下</p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwHwSLaomLSuthMrRk10V0C2Nb2jLoZ9xN24LibGQ7dMEnjzoziaK1lP5Q%2F0\" title=\"\" alt=\"jpg图片2.jpg\"/></p><p><br/></p><p>1-2M</p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwX98oWugK0ks8icKiaYOyZdibzn0rCphVz408put03tSduxVicKt5wzWAJQ%2F0%3Fwx_fmt%3Djpeg\" title=\"\" alt=\"图片大小测试-1-2M.jpg\"/></p><p><br/></p><p>2-3M</p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwz8lym6OknO4L22p7cEF56eLqN1aQfyXficMoExrwJqyuSsuPVA5jlgw%2F0%3Fwx_fmt%3Djpeg\" title=\"\" alt=\"图片大小测试-2-3M.jpg\"/></p><p><br/></p><p>3-4M</p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwvt6TespaibkBgAa3Yia16icnjicyIANaibe3HYImrJibml8M9olEnPgHQjzw%2F0%3Fwx_fmt%3Djpeg\" title=\"\" alt=\"图片大小测试-3-4M.jpg\"/></p><p><br/></p><p>4-5M</p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdwibUqY7iaudmcFx9pURyYyvmoBJwZKibPuUnjtcvP1vBNwEnqWQebQ3PrA%2F0%3Fwx_fmt%3Djpeg\" title=\"\" alt=\"图片大小测试-4-5M.jpg\"/></p><p><br/></p><p>5-6M正常失败</p><p><br/></p><p>长图</p><p><br/></p><p><img src=\"https://wx-test.myyscm.com/wechat/image/image?src=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FNLAD1YtUbic4AnTmJVfFJYcknEAuVwVdw7elK4AvrZZWMeMzY8ZrbAzRbyEGO0EhDbr9hvejN8knUMLsCVqMA8A%2F0\" title=\"\" alt=\"长图.jpg\"/></p><p><br/></p><p><br/></p>",
      "thumb": "",
      "created_on": "2022-01-11 15:32:08"
    },
    {
      "id": "3a015a18-7367-814f-7af9-4495292d17fa",
      "letter_id": "3a015914-fea0-dcb8-29fc-56d5a845d4ef",
      "title": "111",
      "sort": "2",
      "content": "<p>122</p>",
      "thumb": "",
      "created_on": "2022-01-11 14:55:30"
    },
    {
      "id": "3a015535-8b1a-7c6b-ab35-b722b0c0b628",
      "letter_id": "3a012db1-c4a4-92e8-c9ad-f353139449f2",
      "title": "1122",
      "sort": "10",
      "content": "<p>1221</p>",
      "thumb": "",
      "created_on": "2022-01-10 16:09:10"
    },
    {
      "id": "3a0154da-5d9e-7257-e13b-7a7f17c8becf",
      "letter_id": "3a0154da-2a90-d21b-9462-964640de5e25",
      "title": "嘎嘎嘎",
      "sort": "1",
      "content": "<p>故宫</p>",
      "thumb": "",
      "created_on": "2022-01-10 14:29:35"
    },
    {
      "id": "3a013bb8-70c6-b624-5ed3-da0177982393",
      "letter_id": "3a013bb8-6ef1-fcad-e01c-0d798828b5db",
      "title": "接口自动化1.1",
      "sort": "2",
      "content": "<p>这是文章内容</p>",
      "thumb": "",
      "created_on": "2022-01-05 17:22:01"
    },
    {
      "id": "3a013bb5-754f-7b23-6e70-96918f26fa66",
      "letter_id": "3a013bb5-7396-9a18-5b1c-c77463652e45",
      "title": "接口自动化",
      "sort": "1",
      "content": "<p>接口自动化</p>",
      "thumb": "https://test-kefu-zs.oss-cn-shenzhen.aliyuncs.com/retesting/myapplication/2022/01/05/3a013bae-3a60-7108-a2ed-75da13e60d75_orig.jpg",
      "created_on": "2022-01-05 17:18:46"
    },
    {
      "id": "3a013bae-5fbd-c8d3-399d-2c977a977ece",
      "letter_id": "3a013bac-59c6-7241-b74e-e276e5439981",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "https://test-kefu-zs.oss-cn-shenzhen.aliyuncs.com/retesting/myapplication/2022/01/05/3a013bae-3a60-7108-a2ed-75da13e60d75_orig.jpg",
      "created_on": "2022-01-05 17:11:01"
    },
    {
      "id": "3a013b2c-c19a-a137-9f50-38b7a7d383f0",
      "letter_id": "3a013b27-0870-f825-96db-976c438e7ce4",
      "title": "1",
      "sort": "1",
      "content": "<p>1</p>",
      "thumb": "",
      "created_on": "2022-01-05 14:49:27"
    },
    {
      "id": "3a011ca6-e674-83d4-e200-b4249bdb27cb",
      "letter_id": "3a011ca6-6699-aca3-0684-8c1871e22ef5",
      "title": "测试",
      "sort": "1",
      "content": "<p>测试</p>",
      "thumb": "",
      "created_on": "2021-12-30 16:34:38"
    }
  ]
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errmsg string 提示信息
data array 数据
data.id string 文章ID
data.letter_id string 对应家书ID
data.title string 文章标题
data.sort string 文章排序
data.content string 文章内容
data.thumb string 文章封面图
data.created_on string 文章创建时间

失败返回示例

{
  "errcode": 0,
  "errmsg": "获取成功"
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误提示

results matching ""

    No results matching ""