# shopping-guide.getGuideCardMaterial

本接口应在服务器端调用,详细说明参见服务端API

查询小程序卡片素材

# 请求地址

POST https://api.weixin.qq.com/cgi-bin/guide/getguidecardmaterial?access_token=ACCESS_TOKEN

# 请求参数

属性 类型 默认值 必填 说明
access_token string 接口调用凭证
type number 操作类型,填0,表示服务号素材

# 返回值

# Object

属性 类型 说明
card_list Array.<Object> 小程序卡片素材列表
errcode number 错误码
errmsg string 错误信息

card_list 的结构

属性 类型 说明
title string 卡片名字
appid string 小程序appid
path string 路径
picurl string 图片链接
master_id number 图片id
slave_id number 图片id

errcode 的合法值

说明 最低版本
0 成功
-1 系统失败

# 请求数据示例

{
  "type": 0
}

# 返回数据示例

{
  "errcode": 0,
  "errmsg": "",
  "card_list":[
  		{
		"title":"title",
		"appid":"xxxxxx",
		"path":"path111111",
		"picurl":"xxxxxxx",
		"master_id":xxxxxx,
		"slave_id":xxxxxx
	}
  ]
}