WxOpenMaServiceImpl
替代@Deprecated public class WxOpenFastMaServiceImpl extends WxMaServiceImpl implements WxOpenFastMaService
GSON, urlPathSupportApiSignature
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
GET_ACCESS_TOKEN_URL, GET_PAID_UNION_ID_URL, GET_STABLE_ACCESS_TOKEN, JSCODE_TO_SESSION_URL, SET_DYNAMIC_DATA_URL
构造器和说明 |
---|
WxOpenFastMaServiceImpl(WxOpenComponentService wxOpenComponentService,
String appId,
WxMaConfig wxMaConfig)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
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删除类目
|
String |
getAccessToken(boolean forceRefresh)
已过时。
|
WxFastMaAccountBasicInfoResult |
getAccountBasicInfo()
已过时。
1.获取小程序的信息
|
String |
getAllCategories()
已过时。
8.1 获取账号可以设置的所有类目
因为不同类目含有特定字段
目前没有完整的类目信息数据
为保证兼容性,放弃将response转换为实体
|
WxFastMaBeenSetCategoryResult |
getCategory()
已过时。
8.4获取账号已经设置的所有类目
|
WxOpenMaGetOrderPathResult |
getOrderPathInfo(int infoType)
已过时。
获取订单页Path信息
|
WxMaConfig |
getWxMaConfig()
已过时。
|
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则名称正在审核中。
|
doGetAccessTokenRequest, doGetStableAccessTokenRequest, getRequestHttpClient, getRequestHttpProxy, getRequestType, initHttp
addConfig, checkSignature, execute, execute, extractAccessToken, get, getAccessToken, getAnalysisService, getCloudService, getCodeService, getDeviceSubscribeService, getExpressService, getImgProcService, getInternetService, getIntracityService, getJsapiService, getLinkService, getLiveGoodsService, getLiveMemberService, getLiveService, getMarketingService, getMediaService, getMsgService, getOcrService, getPaidUnionId, getPluginService, getProductOrderService, getProductService, getQrcodeService, getReimburseInvoiceService, getRequestHttp, getRunService, getSecurityService, getSettingService, getShareService, getShopAccountService, getShopAfterSaleService, getShopAuditService, getShopCatService, getShopDeliveryService, getShopImgService, getShopOrderService, getShopRegisterService, getShopSharerService, getShopSpuService, getSubscribeService, getUserService, getWxMaExpressDeliveryReturnService, getWxMaImmediateDeliveryService, getWxMaOpenApiService, getWxMaOrderShippingService, getWxMaPromotionService, getWxMaSchemeService, getWxMaShopCouponService, getWxMaShopPayService, getWxMaVodService, getWxMaXPayService, jsCode2SessionInfo, post, post, post, post, postWithSignature, postWithSignature, removeConfig, setDynamicData, setMaxRetryTimes, setMultiConfigs, setMultiConfigs, setRetrySleepMillis, setWxMaConfig, switchover, switchoverTo, switchoverTo, upload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addConfig, checkSignature, execute, execute, getAccessToken, getAnalysisService, getCloudService, getCodeService, getDeviceSubscribeService, getExpressService, getImgProcService, getInternetService, getIntracityService, getJsapiService, getLinkService, getLiveGoodsService, getLiveMemberService, getLiveService, getMarketingService, getMediaService, getMsgService, getOcrService, getPaidUnionId, getPluginService, getProductOrderService, getProductService, getQrcodeService, getReimburseInvoiceService, getRequestHttp, getRunService, getSecurityService, getSettingService, getShareService, getShopAccountService, getShopAfterSaleService, getShopAuditService, getShopCatService, getShopDeliveryService, getShopImgService, getShopOrderService, getShopRegisterService, getShopSharerService, getShopSpuService, getSubscribeService, getUserService, getWxMaExpressDeliveryReturnService, getWxMaImmediateDeliveryService, getWxMaOpenApiService, getWxMaOrderShippingService, getWxMaPromotionService, getWxMaSchemeService, getWxMaShopCouponService, getWxMaShopPayService, getWxMaVodService, getWxMaXPayService, initHttp, jsCode2SessionInfo, postWithSignature, postWithSignature, removeConfig, setDynamicData, setMaxRetryTimes, setMultiConfigs, setMultiConfigs, setRetrySleepMillis, setWxMaConfig, switchover, switchoverTo, switchoverTo
public WxOpenFastMaServiceImpl(WxOpenComponentService wxOpenComponentService, String appId, WxMaConfig wxMaConfig)
public WxMaConfig getWxMaConfig()
getWxMaConfig
在接口中 WxMaService
getWxMaConfig
在类中 BaseWxMaServiceImpl
public String getAccessToken(boolean forceRefresh) throws WxErrorException
getAccessToken
在接口中 WxMaService
getAccessToken
在类中 BaseWxMaServiceImpl
WxErrorException
public WxFastMaAccountBasicInfoResult getAccountBasicInfo() throws WxErrorException
WxOpenMaBasicService
getAccountBasicInfo
在接口中 WxOpenMaBasicService
WxErrorException
- .public WxFastMaSetNickameResult setNickname(String nickname, String idCard, String license, String namingOtherStuff1, String namingOtherStuff2) throws WxErrorException
WxOpenMaBasicService
若接口未返回audit_id,说明名称已直接设置成功,无需审核;若返回audit_id则名称正在审核中。
setNickname
在接口中 WxOpenMaBasicService
nickname
- 昵称idCard
- 身份证照片–临时素材mediaid(个人号必填)license
- 组织机构代码证或营业执照–临时素材mediaid(组织号必填)namingOtherStuff1
- 其他证明材料---临时素材 mediaidnamingOtherStuff2
- 其他证明材料---临时素材 mediaidWxErrorException
- .public WxFastMaQueryNicknameStatusResult querySetNicknameStatus(String auditId) throws WxErrorException
WxOpenMaBasicService
querySetNicknameStatus
在接口中 WxOpenMaBasicService
auditId
- 审核单idWxErrorException
- .public WxFastMaCheckNickameResult checkWxVerifyNickname(String nickname) throws WxErrorException
WxOpenMaBasicService
checkWxVerifyNickname
在接口中 WxOpenMaBasicService
nickname
- 名称WxErrorException
- .public WxOpenResult modifyHeadImage(String headImgMediaId, float x1, float y1, float x2, float y2) throws WxErrorException
WxOpenMaBasicService
图片格式只支持:BMP、JPEG、JPG、GIF、PNG,大小不超过2M 注:实际头像始终为正方形
modifyHeadImage
在接口中 WxOpenMaBasicService
headImgMediaId
- 头像素材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
WxOpenMaBasicService
modifySignature
在接口中 WxOpenMaBasicService
signature
- 简介:4-120字WxErrorException
- .public WxOpenResult componentRebindAdmin(String taskid) throws WxErrorException
WxOpenMaBasicService
componentRebindAdmin
在接口中 WxOpenMaBasicService
taskid
- 换绑管理员任务序列号(公众平台最终点击提交回跳到第三方平台时携带)WxErrorException
- .public String getAllCategories() throws WxErrorException
WxOpenMaBasicService
因为不同类目含有特定字段 目前没有完整的类目信息数据 为保证兼容性,放弃将response转换为实体
getAllCategories
在接口中 WxOpenMaBasicService
WxErrorException
- .public WxOpenResult addCategory(List<WxFastMaCategory> categoryList) throws WxErrorException
WxOpenMaBasicService
addCategory
在接口中 WxOpenMaBasicService
categoryList
- 类目列表WxErrorException
- .public WxOpenResult deleteCategory(int first, int second) throws WxErrorException
WxOpenMaBasicService
deleteCategory
在接口中 WxOpenMaBasicService
first
- 一级类目IDsecond
- 二级类目IDWxErrorException
- .public WxFastMaBeenSetCategoryResult getCategory() throws WxErrorException
WxOpenMaBasicService
getCategory
在接口中 WxOpenMaBasicService
WxErrorException
- .public WxOpenResult modifyCategory(WxFastMaCategory category) throws WxErrorException
WxOpenMaBasicService
modifyCategory
在接口中 WxOpenMaBasicService
category
- 实体WxErrorException
- .public WxOpenMaGetOrderPathResult getOrderPathInfo(int infoType) throws WxErrorException
getOrderPathInfo
在接口中 WxOpenMaBasicService
infoType
- 0:线上版,1:审核版WxErrorException
- .Copyright © 2024. All rights reserved.