public interface WxOpenMaBasicService
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
OPEN_ADD_CATEGORY
8.3 添加类目
|
static String |
OPEN_API_WXA_QUERYNICKNAME
3 小程序改名审核状态查询.
|
static String |
OPEN_CHECK_WX_VERIFY_NICKNAME
4 微信认证名称检测.
|
static String |
OPEN_COMPONENT_REBIND_ADMIN
7 换绑小程序管理员接口.
|
static String |
OPEN_DELETE_CATEGORY
8.4 删除类目
|
static String |
OPEN_GET_ACCOUNT_BASIC_INFO
1 获取帐号基本信息.
|
static String |
OPEN_GET_ALL_CATEGORIES
8.1 获取账号可以设置的所有类目
|
static String |
OPEN_GET_ALL_CATEGORIES_BY_TYPE
8.2 获取不同类型主体可设置的类目
|
static String |
OPEN_GET_ALL_CATEGORY_NAME
8.7 获取类目名称信息
|
static String |
OPEN_GET_CATEGORY
8.5 获取账号已经设置的所有类目
|
static String |
OPEN_GET_ORDER_PATH_INFO
获取订单页path信息
|
static String |
OPEN_MODIFY_CATEGORY
8.6 修改类目
|
static String |
OPEN_MODIFY_HEADIMAGE
5 修改头像.
|
static String |
OPEN_MODIFY_SIGNATURE
6修改功能介绍.
|
static String |
OPEN_SET_NICKNAME
2 小程序名称设置及改名.
|
static String |
URL_COMPONENT_REBIND_ADMIN |
| 限定符和类型 | 方法和说明 |
|---|---|
WxOpenResult |
addCategory(List<WxFastMaCategory> categoryList)
8.3添加类目
|
WxFastMaCheckNickameResult |
checkWxVerifyNickname(String nickname)
4.
|
WxOpenResult |
componentRebindAdmin(String taskId)
7.3 管理员换绑
|
WxOpenResult |
deleteCategory(int first,
int second)
8.4删除类目
|
WxFastMaAccountBasicInfoResult |
getAccountBasicInfo()
1.获取小程序的信息
|
String |
getAllCategories()
8.1 获取账号可以设置的所有类目
因为不同类目含有特定字段
目前没有完整的类目信息数据
为保证兼容性,放弃将response转换为实体
|
WxOpenGetAllCategoriesByTypeResult |
getAllCategoriesByType(String verifyType)
8.2获取不同类型主体可设置的类目
|
WxOpenMaCategoryNameListResult |
getAllCategoryName()
8.7 获取类目名称信息
获取所有类目名称信息,用于给用户展示选择
https://developers.weixin.qq.com/doc/oplatform/openApi/miniprogram-management/category-management/api_getallcategoryname.html
|
WxFastMaBeenSetCategoryResult |
getCategory()
8.5获取账号已经设置的所有类目
|
String |
getComponentRebindAdminUrl(String redirectUri,
String appId)
7.1 获取换绑管理员URL
|
WxOpenMaGetOrderPathResult |
getOrderPathInfo(int infoType)
获取订单页Path信息
|
WxOpenResult |
modifyCategory(WxFastMaCategory category)
8.6修改类目
|
WxOpenResult |
modifyHeadImage(String headImgMediaId,
float x1,
float y1,
float x2,
float y2)
5.修改头像
图片格式只支持:BMP、JPEG、JPG、GIF、PNG,大小不超过2M
注:实际头像始终为正方形
|
WxOpenResult |
modifySignature(String signature)
6.修改功能介绍
|
WxFastMaQueryNicknameStatusResult |
querySetNicknameStatus(String auditId)
3 小程序改名审核状态查询
|
WxFastMaSetNickameResult |
setNickname(String nickname,
String idCard,
String license,
String namingOtherStuff1,
String namingOtherStuff2)
2.小程序名称设置及改名
若接口未返回audit_id,说明名称已直接设置成功,无需审核;若返回audit_id则名称正在审核中。
|
static final String OPEN_API_WXA_QUERYNICKNAME
static final String OPEN_CHECK_WX_VERIFY_NICKNAME
static final String OPEN_COMPONENT_REBIND_ADMIN
static final String OPEN_GET_ALL_CATEGORIES_BY_TYPE
WxFastMaAccountBasicInfoResult getAccountBasicInfo() throws WxErrorException
WxErrorException - .WxFastMaSetNickameResult setNickname(String nickname, String idCard, String license, String namingOtherStuff1, String namingOtherStuff2) throws WxErrorException
若接口未返回audit_id,说明名称已直接设置成功,无需审核;若返回audit_id则名称正在审核中。
nickname - 昵称idCard - 身份证照片–临时素材mediaid(个人号必填)license - 组织机构代码证或营业执照–临时素材mediaid(组织号必填)namingOtherStuff1 - 其他证明材料---临时素材 mediaidnamingOtherStuff2 - 其他证明材料---临时素材 mediaidWxErrorException - .WxFastMaQueryNicknameStatusResult querySetNicknameStatus(String auditId) throws WxErrorException
auditId - 审核单idWxErrorException - .WxFastMaCheckNickameResult checkWxVerifyNickname(String nickname) throws WxErrorException
nickname - 名称WxErrorException - .WxOpenResult modifyHeadImage(String headImgMediaId, float x1, float y1, float x2, float y2) throws WxErrorException
图片格式只支持:BMP、JPEG、JPG、GIF、PNG,大小不超过2M
注:实际头像始终为正方形
headImgMediaId - 头像素材media_idx1 - 裁剪框左上角x坐标(取值范围:[0, 1])y1 - 裁剪框左上角y坐标(取值范围:[0, 1])x2 - 裁剪框右下角x坐标(取值范围:[0, 1])y2 - 裁剪框右下角y坐标(取值范围:[0, 1])WxErrorException - .WxOpenResult modifySignature(String signature) throws WxErrorException
signature - 简介:4-120字WxErrorException - .String getComponentRebindAdminUrl(String redirectUri, String appId) throws UnsupportedEncodingException
redirectUri - 跳转URLappId - 公众号的 appidUnsupportedEncodingExceptionWxOpenResult componentRebindAdmin(String taskId) throws WxErrorException
taskId - 换绑管理员任务序列号(公众平台最终点击提交回跳到第三方平台时携带)WxErrorException - .String getAllCategories() throws WxErrorException
因为不同类目含有特定字段
目前没有完整的类目信息数据
为保证兼容性,放弃将response转换为实体
WxErrorException - .WxOpenGetAllCategoriesByTypeResult getAllCategoriesByType(String verifyType) throws WxErrorException
WxErrorExceptionWxOpenResult addCategory(List<WxFastMaCategory> categoryList) throws WxErrorException
categoryList - 类目列表WxErrorException - .WxOpenResult deleteCategory(int first, int second) throws WxErrorException
first - 一级类目IDsecond - 二级类目IDWxErrorException - .WxFastMaBeenSetCategoryResult getCategory() throws WxErrorException
WxErrorException - .WxOpenResult modifyCategory(WxFastMaCategory category) throws WxErrorException
category - 实体WxErrorException - .WxOpenMaCategoryNameListResult getAllCategoryName() throws WxErrorException
获取所有类目名称信息,用于给用户展示选择
https://developers.weixin.qq.com/doc/oplatform/openApi/miniprogram-management/category-management/api_getallcategoryname.html
WxErrorException - .WxOpenMaGetOrderPathResult getOrderPathInfo(int infoType) throws WxErrorException
infoType - 0:线上版,1:审核版WxErrorException - .Copyright © 2026. All rights reserved.