public class ShakeAroundPageApi extends Object
构造器和说明 |
---|
ShakeAroundPageApi() |
限定符和类型 | 方法和说明 |
---|---|
static ApiResult |
addPage(String title,
String pageUrl,
String description,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
addPage(String title,
String pageUrl,
String description,
String comment,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
deletePage(int pageId)
删除已有的页面,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
searchByIds(int... pageIds)
查询已有的页面,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
searchPage(int begin,
int count)
查询已有的页面,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
updatePage(int pageId,
String title,
String pageUrl,
String description,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
updatePage(int pageId,
String title,
String pageUrl,
String description,
String comment,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
public static ApiResult addPage(String title, String pageUrl, String description, String iconUrl)
title
- 在摇一摇页面展示的主标题,不超过6个汉字或12个英文字母pageUrl
- 页面地址description
- 在摇一摇页面展示的副标题,不超过7个汉字或14个英文字母iconUrl
- 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处public static ApiResult addPage(String title, String pageUrl, String description, String comment, String iconUrl)
title
- 在摇一摇页面展示的主标题,不超过6个汉字或12个英文字母pageUrl
- 页面地址description
- 在摇一摇页面展示的副标题,不超过7个汉字或14个英文字母iconUrl
- 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处comment
- 页面的备注信息,不超过15个汉字或30个英文字母public static ApiResult updatePage(int pageId, String title, String pageUrl, String description, String iconUrl)
pageId
- 摇周边页面唯一IDtitle
- 在摇一摇页面展示的主标题,不超过6个汉字或12个英文字母pageUrl
- 页面地址description
- 在摇一摇页面展示的副标题,不超过7个汉字或14个英文字母iconUrl
- 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处public static ApiResult updatePage(int pageId, String title, String pageUrl, String description, String comment, String iconUrl)
pageId
- 摇周边页面唯一IDtitle
- 在摇一摇页面展示的主标题,不超过6个汉字或12个英文字母pageUrl
- 页面地址description
- 在摇一摇页面展示的副标题,不超过7个汉字或14个英文字母iconUrl
- 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处comment
- 页面的备注信息,不超过15个汉字或30个英文字母public static ApiResult searchByIds(int... pageIds)
pageIds
- 定页面ID查询public static ApiResult searchPage(int begin, int count)
begin
- 页面列表的起始索引值;count
- 待查询的页面数量,不能超过50个;public static ApiResult deletePage(int pageId)
pageId
- 指定页面的idCopyright © 2017. All rights reserved.