public class WxOpenMaBasicServiceImpl extends Object implements WxOpenMaBasicService
OPEN_ADD_CATEGORY, OPEN_API_WXA_QUERYNICKNAME, OPEN_CHECK_WX_VERIFY_NICKNAME, OPEN_COMPONENT_REBIND_ADMIN, OPEN_DELETE_CATEGORY, OPEN_GET_ACCOUNT_BASIC_INFO, OPEN_GET_ALL_CATEGORIES, OPEN_GET_CATEGORY, OPEN_GET_ORDER_PATH_INFO, OPEN_MODIFY_CATEGORY, OPEN_MODIFY_HEADIMAGE, OPEN_MODIFY_SIGNATURE, OPEN_SET_NICKNAME| 构造器和说明 |
|---|
WxOpenMaBasicServiceImpl(WxMaService wxMaService) |
| 限定符和类型 | 方法和说明 |
|---|---|
WxOpenResult |
addCategory(List<WxFastMaCategory> categoryList)
8.2添加类目
|
WxFastMaCheckNickameResult |
checkWxVerifyNickname(String nickname)
4.
|
WxOpenResult |
componentRebindAdmin(String taskid)
7.3 管理员换绑
|
WxOpenResult |
deleteCategory(int first,
int second)
8.3删除类目
|
WxFastMaAccountBasicInfoResult |
getAccountBasicInfo()
1.获取小程序的信息
|
String |
getAllCategories()
8.1 获取账号可以设置的所有类目
因为不同类目含有特定字段
目前没有完整的类目信息数据
为保证兼容性,放弃将response转换为实体
|
WxFastMaBeenSetCategoryResult |
getCategory()
8.4获取账号已经设置的所有类目
|
WxOpenMaGetOrderPathResult |
getOrderPathInfo(int infoType)
获取订单页Path信息
|
WxOpenResult |
modifyCategory(WxFastMaCategory category)
8.5修改类目
|
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则名称正在审核中。
|
public WxOpenMaBasicServiceImpl(WxMaService wxMaService)
public WxFastMaAccountBasicInfoResult getAccountBasicInfo() throws WxErrorException
WxOpenMaBasicServicegetAccountBasicInfo 在接口中 WxOpenMaBasicServiceWxErrorException - .public WxFastMaSetNickameResult setNickname(String nickname, String idCard, String license, String namingOtherStuff1, String namingOtherStuff2) throws WxErrorException
WxOpenMaBasicService
若接口未返回audit_id,说明名称已直接设置成功,无需审核;若返回audit_id则名称正在审核中。
setNickname 在接口中 WxOpenMaBasicServicenickname - 昵称idCard - 身份证照片–临时素材mediaid(个人号必填)license - 组织机构代码证或营业执照–临时素材mediaid(组织号必填)namingOtherStuff1 - 其他证明材料---临时素材 mediaidnamingOtherStuff2 - 其他证明材料---临时素材 mediaidWxErrorException - .public WxFastMaQueryNicknameStatusResult querySetNicknameStatus(String auditId) throws WxErrorException
WxOpenMaBasicServicequerySetNicknameStatus 在接口中 WxOpenMaBasicServiceauditId - 审核单idWxErrorException - .public WxFastMaCheckNickameResult checkWxVerifyNickname(String nickname) throws WxErrorException
WxOpenMaBasicServicecheckWxVerifyNickname 在接口中 WxOpenMaBasicServicenickname - 名称WxErrorException - .public WxOpenResult modifyHeadImage(String headImgMediaId, float x1, float y1, float x2, float y2) throws WxErrorException
WxOpenMaBasicService
图片格式只支持:BMP、JPEG、JPG、GIF、PNG,大小不超过2M
注:实际头像始终为正方形
modifyHeadImage 在接口中 WxOpenMaBasicServiceheadImgMediaId - 头像素材media_idx1 - 裁剪框左上角x坐标(取值范围:[0, 1])y1 - 裁剪框左上角y坐标(取值范围:[0, 1])x2 - 裁剪框右下角x坐标(取值范围:[0, 1])y2 - 裁剪框右下角y坐标(取值范围:[0, 1])WxErrorException - .public WxOpenResult modifySignature(String signature) throws WxErrorException
WxOpenMaBasicServicemodifySignature 在接口中 WxOpenMaBasicServicesignature - 简介:4-120字WxErrorException - .public WxOpenResult componentRebindAdmin(String taskid) throws WxErrorException
WxOpenMaBasicServicecomponentRebindAdmin 在接口中 WxOpenMaBasicServicetaskid - 换绑管理员任务序列号(公众平台最终点击提交回跳到第三方平台时携带)WxErrorException - .public String getAllCategories() throws WxErrorException
WxOpenMaBasicService
因为不同类目含有特定字段
目前没有完整的类目信息数据
为保证兼容性,放弃将response转换为实体
getAllCategories 在接口中 WxOpenMaBasicServiceWxErrorException - .public WxOpenResult addCategory(List<WxFastMaCategory> categoryList) throws WxErrorException
WxOpenMaBasicServiceaddCategory 在接口中 WxOpenMaBasicServicecategoryList - 类目列表WxErrorException - .public WxOpenResult deleteCategory(int first, int second) throws WxErrorException
WxOpenMaBasicServicedeleteCategory 在接口中 WxOpenMaBasicServicefirst - 一级类目IDsecond - 二级类目IDWxErrorException - .public WxFastMaBeenSetCategoryResult getCategory() throws WxErrorException
WxOpenMaBasicServicegetCategory 在接口中 WxOpenMaBasicServiceWxErrorException - .public WxOpenResult modifyCategory(WxFastMaCategory category) throws WxErrorException
WxOpenMaBasicServicemodifyCategory 在接口中 WxOpenMaBasicServicecategory - 实体WxErrorException - .public WxOpenMaGetOrderPathResult getOrderPathInfo(int infoType) throws WxErrorException
getOrderPathInfo 在接口中 WxOpenMaBasicServiceinfoType - 0:线上版,1:审核版WxErrorException - .Copyright © 2024. All rights reserved.