View Source WeChat.MiniProgram.Store (wechat v0.18.0)

小程序 - 门店接口

官方文档

Summary

Types

对应 拉取省市区信息接口 中的id字段

Functions

在腾讯地图中创建门店 - 官方文档

获取单个门店信息 - 官方文档

门店小程序卡券 - 官方文档

从腾讯地图拉取省市区信息 - 官方文档

在腾讯地图中搜索门店 - 官方文档

修改门店小程序信息 - 官方文档

查询门店小程序审核结果 - 官方文档

更新门店信息 - 官方文档

Types

district_id()

@type district_id() :: String.t()

对应 拉取省市区信息接口 中的id字段

poi_id()

@type poi_id() :: String.t()

Functions

add(client, body)

@spec add(WeChat.client(), body()) :: WeChat.response()

添加门店 - 官方文档

apply(client, body)

@spec apply(WeChat.client(), body()) :: WeChat.response()

申请门店 - 官方文档

创建门店小程序提交后需要公众号管理员确认通过后才可进行审核。如果主管理员24小时超时未确认,才能再次提交。

create_map_poi(client, body)

@spec create_map_poi(WeChat.client(), body()) :: WeChat.response()

在腾讯地图中创建门店 - 官方文档

delete(client, poi_id)

@spec delete(WeChat.client(), poi_id()) :: WeChat.response()

删除门店 - 官方文档

get(client, poi_id)

@spec get(WeChat.client(), poi_id()) :: WeChat.response()

获取单个门店信息 - 官方文档

get_card(client, poi_id)

@spec get_card(WeChat.client(), poi_id()) :: WeChat.response()

门店小程序卡券 - 官方文档

get_district(client)

@spec get_district(WeChat.client()) :: WeChat.response()

从腾讯地图拉取省市区信息 - 官方文档

list(client, offset \\ 0, limit \\ 20)

@spec list(WeChat.client(), offset :: integer(), limit :: integer()) ::
  WeChat.response()

获取门店信息列表 - 官方文档

list_category(client)

@spec list_category(WeChat.client()) :: WeChat.response()

拉取类目 - 官方文档

map_search(client, district_id, keyword)

@spec map_search(WeChat.client(), district_id(), keyword :: String.t()) ::
  WeChat.response()

在腾讯地图中搜索门店 - 官方文档

modify(client, body)

@spec modify(WeChat.client(), body()) :: WeChat.response()

修改门店小程序信息 - 官方文档

query_audit_info(client)

@spec query_audit_info(WeChat.client()) :: WeChat.response()

查询门店小程序审核结果 - 官方文档

创建门店小程序提交后需要公众号管理员确认通过后才可进行审核。如果主管理员24小时超时未确认,才能再次提交。

update(client, body)

@spec update(WeChat.client(), body()) :: WeChat.response()

更新门店信息 - 官方文档