public class WxaAPI extends BaseAPI
| 构造器和说明 |
|---|
WxaAPI() |
| 限定符和类型 | 方法和说明 |
|---|---|
static weixin.popular.bean.wxa.AddnearbypoiResult |
addnearbypoi(String access_token,
weixin.popular.bean.wxa.Addnearbypoi addnearbypoi)
附近 添加地点
|
static BaseResult |
addtotemplate(String access_token,
long draft_id)
小程序代码模版库管理
将草稿箱的草稿选为小程序代码模版 |
static BaseResult |
bind_tester(String access_token,
String wechatid)
成员管理
绑定微信用户为小程序体验者 |
static BaseResult |
change_visitstatus(String access_token,
String action)
代码管理
修改小程序线上代码的可见状态(仅供第三方代小程序调用) |
static BaseResult |
changewxasearchstatus(String access_token,
int status)
基础信息设置
设置小程序隐私设置(是否可被搜索) |
static BaseResult |
commit(String access_token,
weixin.popular.bean.wxa.Commit commit)
代码管理
为授权的小程序帐号上传小程序代码 |
static BaseResult |
deletetemplate(String access_token,
long template_id)
小程序代码模版库管理
删除指定小程序代码模版 |
static BaseResult |
delnearbypoi(String access_token,
String poi_id)
附近 删除地点
|
static weixin.popular.bean.wxa.GetAuditstatusResult |
get_auditstatus(String access_token,
String auditid)
代码管理
获取第三方提交的审核版本的审核状态(仅供第三方代小程序调用) |
static weixin.popular.bean.wxa.GetCategoryResult |
get_category(String access_token)
代码管理
获取授权小程序帐号的可选类目 |
static weixin.popular.bean.wxa.GetAuditstatusResult |
get_latest_auditstatus(String access_token)
代码管理
获取第三方最新一次提交的审核版本的审核状态(仅供第三方代小程序调用) |
static weixin.popular.bean.wxa.GetPageResult |
get_page(String access_token)
代码管理
获取小程序的第三方提交代码的页面配置(仅供第三方开发者代小程序调用) |
static weixin.popular.bean.wxa.GetQrcodeResult |
get_qrcode(String access_token)
代码管理
获取体验小程序的体验二维码 |
static weixin.popular.bean.wxa.GetnearbypoilistResult |
getnearbypoilist(String access_token,
int page,
int page_rows)
附近 查看地点列表
|
static weixin.popular.bean.wxa.GettemplatedraftlistResult |
gettemplatedraftlist(String access_token)
小程序代码模版库管理
获取草稿箱内的所有临时代码草稿 |
static weixin.popular.bean.wxa.GettemplatelistResult |
gettemplatelist(String access_token)
小程序代码模版库管理
获取代码模版库中的所有小程序代码模版 |
static BufferedImage |
getwxacode(String access_token,
weixin.popular.bean.wxa.Getwxacode getwxacode)
获取小程序码 A
适用于需要的码数量较少的业务场景 注意:通过该接口生成的小程序码,永久有效,数量限制见文末说明,请谨慎使用。 |
static BufferedImage |
getwxacodeunlimit(String access_token,
weixin.popular.bean.wxa.Getwxacodeunlimit getwxacodeunlimit)
获取小程序码 B
适用于需要的码数量极多,或仅临时使用的业务场景 注意:通过该接口生成的小程序码,永久有效,数量暂无限制。 |
static weixin.popular.bean.wxa.WxaCodeResult |
getwxacodeunlimitresult(String access_token,
weixin.popular.bean.wxa.Getwxacodeunlimit getwxacodeunlimit)
获取小程序码 B
适用于需要的码数量极多,或仅临时使用的业务场景 注意:通过该接口生成的小程序码,永久有效,数量暂无限制。 |
static weixin.popular.bean.wxa.GetwxasearchstatusResult |
getwxasearchstatus(String access_token)
基础信息设置
查询小程序当前隐私设置(是否可被搜索) |
static BaseResult |
img_sec_check(String access_token,
File media)
图片检查
校验一张图片是否含有违法违规内容。 |
static BaseResult |
img_sec_check(String access_token,
InputStream media)
图片检查
校验一张图片是否含有违法违规内容。 |
static weixin.popular.bean.wxa.ModifyDomainResult |
modify_domain(String access_token,
weixin.popular.bean.wxa.ModifyDomain modifyDomain)
修改服务器地址
设置小程序服务器域名 |
static BaseResult |
msg_sec_check(String access_token,
String content)
文本检查
检查一段文本是否含有违法违规内容。 |
static BaseResult |
release(String access_token)
代码管理
发布已通过审核的小程序(仅供第三方代小程序调用) |
static BaseResult |
revertcoderelease(String access_token)
代码管理
小程序版本回退(仅供第三方代小程序调用) |
static BaseResult |
setnearbypoishowstatus(String access_token,
String poi_id,
int status)
附近 展示/取消展示附近小程序
|
static BaseResult |
setwebviewdomain(String access_token,
weixin.popular.bean.wxa.SetWebviewDomain setWebviewDomain)
修改服务器地址
设置小程序业务域名(仅供第三方代小程序调用) |
static weixin.popular.bean.wxa.SubmitAuditResult |
submit_audit(String access_token,
weixin.popular.bean.wxa.SubmitAudit submitAudit)
代码管理
将第三方提交的代码包提交审核(仅供第三方开发者代小程序调用) |
static BaseResult |
unbind_tester(String access_token,
String wechatid)
成员管理
解除绑定小程序的体验者 |
static BaseResult |
undocodeaudit(String access_token)
代码管理
小程序审核撤回(仅供第三方代小程序调用) |
public static weixin.popular.bean.wxa.ModifyDomainResult modify_domain(String access_token, weixin.popular.bean.wxa.ModifyDomain modifyDomain)
access_token - access_tokenmodifyDomain - modifyDomainpublic static BaseResult setwebviewdomain(String access_token, weixin.popular.bean.wxa.SetWebviewDomain setWebviewDomain)
access_token - access_tokensetWebviewDomain - setWebviewDomainpublic static BaseResult bind_tester(String access_token, String wechatid)
access_token - access_tokenwechatid - 微信号public static BaseResult unbind_tester(String access_token, String wechatid)
access_token - access_tokenwechatid - 微信号public static BaseResult commit(String access_token, weixin.popular.bean.wxa.Commit commit)
access_token - access_tokencommit - commitpublic static weixin.popular.bean.wxa.GetQrcodeResult get_qrcode(String access_token)
access_token - access_tokenpublic static weixin.popular.bean.wxa.GetCategoryResult get_category(String access_token)
access_token - access_tokenpublic static weixin.popular.bean.wxa.GetPageResult get_page(String access_token)
access_token - access_tokenpublic static weixin.popular.bean.wxa.SubmitAuditResult submit_audit(String access_token, weixin.popular.bean.wxa.SubmitAudit submitAudit)
access_token - access_tokensubmitAudit - submitAuditpublic static weixin.popular.bean.wxa.GetAuditstatusResult get_auditstatus(String access_token, String auditid)
access_token - access_tokenauditid - 审核IDpublic static weixin.popular.bean.wxa.GetAuditstatusResult get_latest_auditstatus(String access_token)
access_token - access_tokenpublic static BaseResult release(String access_token)
access_token - access_tokenpublic static BaseResult undocodeaudit(String access_token)
access_token - access_tokenpublic static BaseResult revertcoderelease(String access_token)
access_token - access_tokenpublic static BaseResult change_visitstatus(String access_token, String action)
access_token - access_tokenaction - 设置可访问状态,发布后默认可访问,close为不可见,open为可见public static BufferedImage getwxacode(String access_token, weixin.popular.bean.wxa.Getwxacode getwxacode)
access_token - access_tokengetwxacode - getwxacodepublic static BufferedImage getwxacodeunlimit(String access_token, weixin.popular.bean.wxa.Getwxacodeunlimit getwxacodeunlimit)
access_token - access_tokengetwxacodeunlimit - getwxacodeunlimitpublic static weixin.popular.bean.wxa.WxaCodeResult getwxacodeunlimitresult(String access_token, weixin.popular.bean.wxa.Getwxacodeunlimit getwxacodeunlimit)
access_token - access_tokengetwxacodeunlimit - getwxacodeunlimitpublic static weixin.popular.bean.wxa.AddnearbypoiResult addnearbypoi(String access_token, weixin.popular.bean.wxa.Addnearbypoi addnearbypoi)
access_token - access_tokenaddnearbypoi - addnearbypoipublic static weixin.popular.bean.wxa.GetnearbypoilistResult getnearbypoilist(String access_token, int page, int page_rows)
access_token - access_tokenpage - 起始页id(从1开始计数)page_rows - 每页展示个数(最多1000个)public static BaseResult delnearbypoi(String access_token, String poi_id)
access_token - access_tokenpoi_id - 附近地点IDpublic static BaseResult setnearbypoishowstatus(String access_token, String poi_id, int status)
access_token - access_tokenpoi_id - 附近地点IDstatus - 0:取消展示;1:展示public static weixin.popular.bean.wxa.GettemplatedraftlistResult gettemplatedraftlist(String access_token)
access_token - access_tokenpublic static weixin.popular.bean.wxa.GettemplatelistResult gettemplatelist(String access_token)
access_token - access_tokenpublic static BaseResult addtotemplate(String access_token, long draft_id)
access_token - access_tokendraft_id - draft_idpublic static BaseResult deletetemplate(String access_token, long template_id)
access_token - access_tokentemplate_id - template_idpublic static BaseResult changewxasearchstatus(String access_token, int status)
access_token - access_tokenstatus - 1表示不可搜索,0表示可搜索public static weixin.popular.bean.wxa.GetwxasearchstatusResult getwxasearchstatus(String access_token)
access_token - access_tokenpublic static BaseResult msg_sec_check(String access_token, String content)
access_token - access_tokencontent - 要检测的文本内容,长度不超过 500KBpublic static BaseResult img_sec_check(String access_token, InputStream media)
access_token - access_tokenmedia - 要检测的图片文件,格式支持PNG、JPEG、JPG、GIF,图片尺寸不超过 750px * 1334pxpublic static BaseResult img_sec_check(String access_token, File media)
access_token - access_tokenmedia - 要检测的图片文件,格式支持PNG、JPEG、JPG、GIF,图片尺寸不超过 750px * 1334pxCopyright © 2021. All rights reserved.