public class WxOpenFastMaServiceImpl extends WxMaServiceImpl implements WxOpenFastMaService
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
log |
GSONOPEN_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_MODIFY_CATEGORY, OPEN_MODIFY_HEADIMAGE, OPEN_MODIFY_SIGNATURE, OPEN_SET_NICKNAMEGET_ACCESS_TOKEN_URL, GET_PAID_UNION_ID_URL, JSCODE_TO_SESSION_URL| 构造器和说明 |
|---|
WxOpenFastMaServiceImpl(WxOpenComponentService wxOpenComponentService,
String appId,
WxMaConfig wxMaConfig) |
checkSignature, execute, get, getAccessToken, getAnalysisService, getCodeService, getJsapiService, getMediaService, getMsgService, getPaidUnionId, getQrcodeService, getRequestHttp, getRequestHttpClient, getRequestHttpProxy, getRequestType, getRunService, getSecCheckService, getSettingService, getShareService, getTemplateService, getUserService, initHttp, jsCode2SessionInfo, post, setMaxRetryTimes, setRetrySleepMillis, setWxMaConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSignature, execute, get, getAccessToken, getAnalysisService, getCodeService, getJsapiService, getMediaService, getMsgService, getPaidUnionId, getQrcodeService, getRequestHttp, getRunService, getSecCheckService, getSettingService, getShareService, getTemplateService, getUserService, initHttp, jsCode2SessionInfo, post, setMaxRetryTimes, setRetrySleepMillis, setWxMaConfigpublic WxOpenFastMaServiceImpl(WxOpenComponentService wxOpenComponentService, String appId, WxMaConfig wxMaConfig)
public WxMaConfig getWxMaConfig()
getWxMaConfig 在接口中 WxMaServicegetWxMaConfig 在类中 WxMaServiceImplpublic String getAccessToken(boolean forceRefresh) throws WxErrorException
getAccessToken 在接口中 WxMaServicegetAccessToken 在类中 WxMaServiceImplWxErrorExceptionpublic WxFastMaAccountBasicInfoResult getAccountBasicInfo() throws WxErrorException
注意:这里不能直接用小程序的access_token
getAccountBasicInfo 在接口中 WxOpenFastMaServiceWxErrorExceptionpublic WxFastMaSetNickameResult setNickname(String nickname, String idCard, String license, String namingOtherStuff1, String namingOtherStuff2) throws WxErrorException
setNickname 在接口中 WxOpenFastMaServicenickname - 昵称idCard - 身份证照片–临时素材mediaid(个人号必填)license - 组织机构代码证或营业执照–临时素材mediaid(组织号必填)namingOtherStuff1 - 其他证明材料---临时素材 mediaidnamingOtherStuff2 - 其他证明材料---临时素材 mediaidWxErrorExceptionpublic WxFastMaQueryNicknameStatusResult querySetNicknameStatus(String auditId) throws WxErrorException
querySetNicknameStatus 在接口中 WxOpenFastMaServiceauditId - 审核单idWxErrorExceptionpublic WxFastMaCheckNickameResult checkWxVerifyNickname(String nickname) throws WxErrorException
命中关键字策略时返回命中关键字的说明描述
checkWxVerifyNickname 在接口中 WxOpenFastMaServicenickname - 名称WxErrorExceptionpublic WxOpenResult modifyHeadImage(String headImgMediaId, float x1, float y1, float x2, float y2) throws WxErrorException
图片格式只支持:BMP、JPEG、JPG、GIF、PNG,大小不超过2M
注:实际头像始终为正方形
modifyHeadImage 在接口中 WxOpenFastMaServiceheadImgMediaId - 头像素材media_idx1 - 裁剪框左上角x坐标(取值范围:[0, 1])y1 - 裁剪框左上角y坐标(取值范围:[0, 1])x2 - 裁剪框右下角x坐标(取值范围:[0, 1])y2 - 裁剪框右下角y坐标(取值范围:[0, 1])WxErrorExceptionpublic WxOpenResult modifySignature(String signature) throws WxErrorException
modifySignature 在接口中 WxOpenFastMaServicesignature - 简介:4-120字WxErrorExceptionpublic WxOpenResult componentRebindAdmin(String taskid) throws WxErrorException
componentRebindAdmin 在接口中 WxOpenFastMaServicetaskid - 换绑管理员任务序列号(公众平台最终点击提交回跳到第三方平台时携带)WxErrorExceptionpublic String getAllCategories() throws WxErrorException
getAllCategories 在接口中 WxOpenFastMaServiceWxErrorExceptionpublic WxOpenResult addCategory(List<WxFastMaCategory> categoryList) throws WxErrorException
addCategory 在接口中 WxOpenFastMaServicecategoryList - WxErrorExceptionpublic WxOpenResult deleteCategory(int first, int second) throws WxErrorException
deleteCategory 在接口中 WxOpenFastMaServicefirst - 一级类目IDsecond - 二级类目IDWxErrorExceptionpublic WxFastMaBeenSetCategoryResult getCategory() throws WxErrorException
getCategory 在接口中 WxOpenFastMaServiceWxErrorExceptionpublic WxOpenResult modifyCategory(WxFastMaCategory category) throws WxErrorException
modifyCategory 在接口中 WxOpenFastMaServicecategory - 实体WxErrorExceptionCopyright © 2019. All rights reserved.