public interface WxOpenComponentService
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
addLimitDiscountGoods(String appId,
LimitDiscountGoods limitDiscountGoods)
添加抢购任务
每个商品(SPU)同一时间只能有一个抢购任务。
|
void |
addToTemplate(long draftId)
已过时。
|
void |
addToTemplate(long draftId,
int templateType)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/addtotemplate.html
将草稿添加到代码模板库.
|
WxOpenResult |
applySetOrderPathInfo(WxOpenMaApplyOrderPathInfo info)
申请设置订单页path信息
注意:一次提交不超过100个appid
|
Boolean |
bindOpenAccount(String appId,
String appIdType,
String openAppid)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/account/bind.html
将公众号/小程序绑定到开放平台帐号下
|
WxOpenResult |
changeTcbEnv(String env)
转换云环境
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/cloudbase-batch/env-mgnt/changeTcbEnv.html
|
String |
checkAuditStatus(String wxName)
https://api.weixin.qq.com/product/register/check_audit_status
异步状态查询
|
String |
checkAuditStatus(String appId,
String wxName)
已经获取到小商店的appId,那么需要通过accesstoken来获取该小商店的状态
|
boolean |
checkSignature(String timestamp,
String nonce,
String signature)
Check signature boolean.
|
boolean |
checkSignature(String appId,
String timestamp,
String nonce,
String signature)
Check signature boolean.
|
WxOpenResult |
clearQuotaV2(String appid)
使用 AppSecret 重置第三方平台 API 调用次数
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/clearComponentQuotaByAppSecret.html
|
WxOpenCreateResult |
createOpenAccount(String appId,
String appIdType)
https://open.weixin.qq.com/cgi-bin/showdocument?
|
void |
deleteTemplate(long templateId)
删除指定小程序代码模版.
|
WxOpenRegisterBetaWeappResult |
fastRegisterBetaWeapp(String name,
String openid)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/beta_Mini_Programs/fastregister.html
注册试用小程序
|
WxOpenRegisterPersonalWeappResult |
fastRegisterPersonalWeapp(String idname,
String wxuser,
String componentPhone)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/fastregisterpersonalweapp.html
快速创建个人小程序
|
WxOpenRegisterPersonalWeappResult |
fastRegisterPersonalWeappSearch(String taskid)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/fastregisterpersonalweapp.html
查询个人小程序注册任务状态
|
WxOpenResult |
fastRegisterWeapp(String name,
String code,
String codeType,
String legalPersonaWechat,
String legalPersonaName,
String componentPhone)
https://open.weixin.qq.com/cgi-bin/showdocument?
|
WxOpenResult |
fastRegisterWeappSearch(String name,
String legalPersonaWechat,
String legalPersonaName)
https://open.weixin.qq.com/cgi-bin/showdocument?
|
String |
get(String uri)
Get string.
|
String |
get(String uri,
String accessTokenKey)
Get string.
|
String |
getAuthorizerAccessToken(String appid,
boolean forceRefresh)
Gets authorizer access token.
|
WxOpenAuthorizerInfoResult |
getAuthorizerInfo(String authorizerAppid)
获取授权方的帐号基本信息.
|
WxOpenAuthorizerListResult |
getAuthorizerList(int begin,
int len)
获取所有授权方列表.
|
WxOpenAuthorizerOptionResult |
getAuthorizerOption(String authorizerAppid,
String optionName)
获取授权方的选项设置信息.
|
String |
getComponentAccessToken(boolean forceRefresh)
Gets component access token.
|
List<LimitDiscountGoods> |
getLimitDiscountList(String appId,
Integer status)
status为0代表 还未结束的抢购任务,无论是否开始 status为1代表已经结束的 抢购任务 如果不填status,则两种都拉取
|
MinishopBrandList |
getMinishopBrands(String appId)
获取小商店品牌信息
|
MinishopCategories |
getMinishopCategories(String appId,
Integer fCatId)
获取小商店的类目详情
|
MinishopShopCatList |
getMinishopCatList(String appId)
获取小商店商品分类信息
|
WxMinishopAddGoodsSpuResult<List<WxMinishopDeliveryCompany>> |
getMinishopDeliveryCompany(String appId)
获取小商店的快递公司列表
|
MinishopDeliveryTemplateResult |
getMinishopDeliveryTemplate(String appId)
获取小商店运费模版信息
|
String |
getMobilePreAuthUrl(String redirectUri)
获取预授权链接(手机端预授权).
|
String |
getMobilePreAuthUrl(String redirectUri,
String authType,
String bizAppid)
获取预授权链接(手机端预授权).
|
WxOpenGetResult |
getOpenAccount(String appId,
String appIdType)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/account/get.html
获取公众号/小程序所绑定的开放平台帐号
|
String |
getPreAuthUrl(String redirectUri)
获取用户授权页URL(来路URL和成功跳转URL 的域名都需要为三方平台设置的 登录授权的发起页域名).
|
String |
getPreAuthUrl(String redirectUri,
String authType,
String bizAppid)
.
|
WxOpenQueryAuthResult |
getQueryAuth(String authorizationCode)
使用授权码换取公众号或小程序的接口调用凭据和授权信息.
|
GetShareCloudBaseEnvResponse |
getShareCloudBaseEnv(List<String> appids)
查询环境共享信息
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/cloudbase-batch/env-mgnt/getShareCloudbaseEnv.html
|
GetTcbEnvListResponse |
getTcbEnvList()
获取环境信息
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/cloudbase-batch/env-mgnt/getTcbEnvList.html
|
List<WxOpenMaCodeTemplate> |
getTemplateDraftList()
获取草稿箱内的所有临时代码草稿.
|
List<WxOpenMaCodeTemplate> |
getTemplateList()
已过时。
|
List<WxOpenMaCodeTemplate> |
getTemplateList(Integer templateType)
获取代码模版库中的所有小程序代码模版.
|
WxOpenFastMaService |
getWxFastMaServiceByAppid(String appid)
已过时。
2021-06-23 本接口原有方法并非仅快速创建小程序的专用接口,普通小程序授权到第三方平台皆可使用,所以请使用
WxOpenMaBasicService 类替代。获取方法: WxOpenMaService.getBasicService() |
WxOpenMaService |
getWxMaServiceByAppid(String appid)
获取指定appid的开放平台小程序服务(继承一般小程序服务能力).
|
WxOpenMinishopService |
getWxMinishopServiceByAppid(String appid)
获取指定appid的小商店服务
|
WxOpenMpService |
getWxMpServiceByAppid(String appid)
Gets wx mp service by appid.
|
WxOpenConfigStorage |
getWxOpenConfigStorage()
Gets wx open config storage.
|
WxOpenHaveResult |
haveOpen()
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Mini_Program_Basic_Info/getbindopeninfo.html
查询公众号/小程序是否绑定 open 帐号
|
WxMaJscode2SessionResult |
miniappJscode2Session(String appId,
String jsCode)
Miniapp jscode 2 session wx ma jscode 2 session result.
|
WxMinishopAddGoodsSpuResult<WxMinishopAddGoodsSkuData> |
minishiopGoodsAddSku(String appId,
WxMinishopSku sku)
小商店新增sku信息
|
String |
minishopCommonPost(String appId,
String url,
String requestParam)
小商店通用Post接口
|
Integer |
minishopCreateCoupon(String appId,
WxMinishopCoupon couponInfo)
创建小商店优惠券
|
WxMinishopCouponStock |
minishopGetCouponList(String appId,
String startCreateTime,
String endCreateTime,
Integer status,
Integer page,
Integer pageSize)
与小商店对接,获取小商店的优惠券信息
|
WxMinishopAddGoodsSpuResult<WxMinishopAddGoodsSpuData> |
minishopGoodsAddSpu(String appId,
WxMinishopSpu spu)
小商店添加商品接口,添加商品后只是添加到草稿箱,需要通过调用上架商品,并通过审核才能在商城中显示。
|
WxOpenResult |
minishopGoodsBatchAddSku(String appId,
List<WxMinishopSku> skuList)
小商店批量新增sku信息
|
WxOpenResult |
minishopGoodsDelistingSpu(String appId,
Long productId,
Long outProductId)
下架商品
|
WxOpenResult |
minishopGoodsDelSku(String appId,
Long productId,
Long outProductId,
String outSkuId,
Long skuId)
小商店删除sku消息
|
WxOpenResult |
minishopGoodsDelSpu(String appId,
Long productId,
Long outProductId)
小商店删除商品接口,直接删除,不会存在小商店回收站里面。
|
WxOpenResult |
minishopGoodsListingSpu(String appId,
Long productId,
Long outProductId)
上架商品。
|
WxOpenResult |
minishopGoodsUpdateSku(String appId,
WxMinishopSku sku)
小商店更新sku
|
WxOpenResult |
minishopGoodsUpdateSkuPrice(String appId,
Long productId,
Long outProductId,
String outSkuId,
Long skuId,
Long salePrice,
Long marketPrice)
小商店更新sku价格
|
WxOpenResult |
minishopGoodsUpdateSkuStock(String appId,
Long productId,
Long outProductId,
String outSkuId,
Long skuId,
Integer type,
Integer stockNum)
小商店更新sku库存
|
WxMinishopAddGoodsSpuResult<WxMinishopAddGoodsSpuData> |
minishopGoodsUpdateSpu(String appId,
WxMinishopSpu spu)
小商店更新商品接口,不会直接影响上架商品的信息,而是存在草稿箱,需要调用上架商品接口,并通过审核才能在商城中显示。
|
WxOpenResult |
minishopPushCouponToUser(String appid,
String openId,
Integer couponId)
与小商店对接,将优惠券发送给某人
|
Integer |
minishopUpdateCoupon(String appId,
WxMinishopCoupon couponInfo)
与小商店对接,更新商城优惠券
|
WxOpenResult |
minishopUpdateCouponStatus(String appId,
Integer couponId,
Integer status)
从优惠券创建后status=1,可流转到2,4,5, COUPON_STATUS_VALID = 2 ;//生效 COUPON_STATUS_INVALID = 4 ;//已作废 COUPON_STATUS_DEL = 5;//删除
|
String |
oauth2buildAuthorizationUrl(String appid,
String redirectUri,
String scope,
String state)
已过时。
2021-05-21: 已修正公众号相关接口,请使用:WxOpenCommpentService.getWxMpServiceByAppid(mpAppId).getOAuth2Service().buildAuthorizationUrl(redirectUri, scope, state)
|
WxOAuth2AccessToken |
oauth2getAccessToken(String appid,
String code)
已过时。
2021-05-21: 已修正公众号相关接口,请使用:WxOpenComponentService.getWxMpServiceByAppid(mpAppId).getOAuth2Service().getAccessToken(code)
|
WxOAuth2AccessToken |
oauth2refreshAccessToken(String appid,
String refreshToken)
Oauth 2 refresh access token wx mp o auth 2 access token.
|
String |
post(String uri,
String postData)
Post string.
|
String |
post(String uri,
String postData,
String accessTokenKey)
Post string.
|
String |
post(String uri,
String postData,
String accessTokenKey,
String accessToken) |
WxOpenResult |
registerShop(String wxName,
String idCardName,
String idCardNumber,
String channelId,
Integer apiOpenstoreType,
String authPageUrl)
https://api.weixin.qq.com/product/register/register_shop?
|
String |
route(WxOpenXmlMessage wxMessage)
Route string.
|
void |
setAuthorizerOption(String authorizerAppid,
String optionName,
String optionValue)
设置授权方的选项信息.
|
ShareCloudBaseEnvResponse |
shareCloudBaseEnv(ShareCloudBaseEnvRequest request)
环境共享
https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/cloudbase-batch/env-mgnt/shareCloudbaseEnv.html
|
void |
startPushTicket()
启动ticket推送服务 该 API 用于启动ticket推送服务
|
WxOpenResult |
submitBasicInfo(String appId,
MinishopNameInfo nameInfo,
MinishopReturnInfo returnInfo) |
WxOpenResult |
submitMerchantInfo(String appId,
String subjectType,
MinishopBusiLicense busiLicense,
MinishopOrganizationCodeInfo organizationCodeInfo,
MinishopIdcardInfo idcardInfo,
MinishopSuperAdministratorInfo superAdministratorInfo,
String merchantShoprtName) |
Boolean |
unbindOpenAccount(String appId,
String appIdType,
String openAppid)
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/account/unbind.html
将公众号/小程序从开放平台帐号下解绑
|
WxOpenResult |
updateLimitDiscountStatus(String appId,
Long taskId,
Integer status)
修改抢购任务状态
用于提前结束抢购任务,无论抢购任务是否在执行中,都可以关闭。
|
WxMinishopImageUploadResult |
uploadMinishopImagePicFile(String appId,
Integer height,
Integer width,
File file) |
static final String API_COMPONENT_TOKEN_URL
static final String API_CREATE_PREAUTHCODE_URL
static final String API_QUERY_AUTH_URL
static final String API_AUTHORIZER_TOKEN_URL
static final String API_GET_AUTHORIZER_INFO_URL
static final String GET_AUTHORIZER_OPTION_URL
static final String SET_AUTHORIZER_OPTION_URL
static final String API_GET_AUTHORIZER_LIST
static final String COMPONENT_LOGIN_PAGE_URL
static final String COMPONENT_MOBILE_LOGIN_PAGE_URL
static final String CONNECT_OAUTH2_AUTHORIZE_URL
static final String OAUTH2_ACCESS_TOKEN_URL
static final String OAUTH2_REFRESH_TOKEN_URL
static final String MINIAPP_JSCODE_2_SESSION
static final String FAST_REGISTER_WEAPP_SEARCH_URL
static final String FAST_REGISTER_PERSONAL_WEAPP_URL
static final String FAST_REGISTER_PERSONAL_WEAPP_SEARCH_URL
static final String FAST_REGISTER_BETA_WEAPP_URL
static final String GET_TEMPLATE_DRAFT_LIST_URL
static final String GET_TEMPLATE_LIST_URL
static final String ADD_TO_TEMPLATE_URL
static final String DELETE_TEMPLATE_URL
static final String MINISHOP_DELIVERY_TEMPLATE_GET_URL
static final String API_MINISHOP_ADD_LIMIT_DISCOUNT_URL
static final String API_MINISHOP_GET_LIMIT_DISCOUNT_URL
static final String API_MINISHOP_UPDATE_LIMIT_DICOUNT_STATUS_URL
WxOpenMpService getWxMpServiceByAppid(String appid)
appid - the appidWxOpenMaService getWxMaServiceByAppid(String appid)
appid - .@Deprecated WxOpenFastMaService getWxFastMaServiceByAppid(String appid)
WxOpenMaBasicService 类替代。获取方法: WxOpenMaService.getBasicService()appid - .WxOpenMinishopService getWxMinishopServiceByAppid(String appid)
appid - WxOpenConfigStorage getWxOpenConfigStorage()
boolean checkSignature(String timestamp, String nonce, String signature)
timestamp - the timestampnonce - the noncesignature - the signaturevoid startPushTicket()
throws WxErrorException
WxErrorException - 如果调用失败返回此异常String getComponentAccessToken(boolean forceRefresh) throws WxErrorException
forceRefresh - the force refreshWxErrorException - the wx error exceptionString post(String uri, String postData) throws WxErrorException
uri - the uripostData - the post dataWxErrorException - the wx error exceptionString post(String uri, String postData, String accessTokenKey) throws WxErrorException
uri - the uripostData - the post dataaccessTokenKey - the access token keyWxErrorException - the wx error exceptionString post(String uri, String postData, String accessTokenKey, String accessToken) throws WxErrorException
WxErrorExceptionString get(String uri) throws WxErrorException
uri - the uriWxErrorException - the wx error exceptionString get(String uri, String accessTokenKey) throws WxErrorException
uri - the uriaccessTokenKey - the access token keyWxErrorException - the wx error exceptionString getPreAuthUrl(String redirectUri) throws WxErrorException
redirectUri - the redirect uriWxErrorException - the wx error exceptionString getPreAuthUrl(String redirectUri, String authType, String bizAppid) throws WxErrorException
redirectUri - the redirect uriauthType - 要授权的帐号类型:1则商户点击链接后,手机端仅展示公众号、2表示仅展示小程序,3表示公众号和小程序都展示。如果为未指定,则默认小程序和公众号都展示。第三方平台开发者可以使用本字段来控制授权的帐号类型。bizAppid - 指定授权唯一的小程序或公众号 注:authType、bizAppid 互斥。WxErrorException - the wx error exceptionString getMobilePreAuthUrl(String redirectUri) throws WxErrorException
redirectUri - .WxErrorException - .String getMobilePreAuthUrl(String redirectUri, String authType, String bizAppid) throws WxErrorException
redirectUri - .authType - .bizAppid - .WxErrorException - .String route(WxOpenXmlMessage wxMessage) throws WxErrorException
wxMessage - the wx messageWxErrorException - the wx error exceptionWxOpenQueryAuthResult getQueryAuth(String authorizationCode) throws WxErrorException
authorizationCode - the authorization codeWxErrorException - the wx error exceptionWxOpenAuthorizerInfoResult getAuthorizerInfo(String authorizerAppid) throws WxErrorException
authorizerAppid - the authorizer appidWxErrorException - the wx error exceptionWxOpenAuthorizerOptionResult getAuthorizerOption(String authorizerAppid, String optionName) throws WxErrorException
authorizerAppid - the authorizer appidoptionName - the option nameWxErrorException - the wx error exceptionWxOpenAuthorizerListResult getAuthorizerList(int begin, int len) throws WxErrorException
begin - the beginlen - the lenWxErrorException - the wx error exceptionvoid setAuthorizerOption(String authorizerAppid, String optionName, String optionValue) throws WxErrorException
authorizerAppid - the authorizer appidoptionName - the option nameoptionValue - the option valueWxErrorException - the wx error exceptionString getAuthorizerAccessToken(String appid, boolean forceRefresh) throws WxErrorException
appid - the appidforceRefresh - the force refreshWxErrorException - the wx error exception@Deprecated WxOAuth2AccessToken oauth2getAccessToken(String appid, String code) throws WxErrorException
appid - the appidcode - the codeWxErrorException - the wx error exceptionWxMpService.getOAuth2Service()boolean checkSignature(String appId, String timestamp, String nonce, String signature)
appId - the app idtimestamp - the timestampnonce - the noncesignature - the signatureWxOAuth2AccessToken oauth2refreshAccessToken(String appid, String refreshToken) throws WxErrorException
appid - the appidrefreshToken - the refresh tokenWxErrorException - the wx error exception@Deprecated String oauth2buildAuthorizationUrl(String appid, String redirectUri, String scope, String state)
appid - the appidredirectUri - the redirect uriscope - the scopestate - the stateWxMpService.getOAuth2Service()WxMaJscode2SessionResult miniappJscode2Session(String appId, String jsCode) throws WxErrorException
appId - the app idjsCode - the js codeWxErrorException - the wx error exceptionList<WxOpenMaCodeTemplate> getTemplateDraftList() throws WxErrorException
WxErrorException - 获取失败时返回,具体错误码请看此接口的注释文档@Deprecated List<WxOpenMaCodeTemplate> getTemplateList() throws WxErrorException
WxErrorException - 获取失败时返回,具体错误码请看此接口的注释文档getTemplateList(Integer)List<WxOpenMaCodeTemplate> getTemplateList(Integer templateType) throws WxErrorException
templateType - 模板类型,可空,默认全部,填0普通模,1标准模板WxErrorException - 获取失败时返回,具体错误码请看此接口的注释文档@Deprecated void addToTemplate(long draftId) throws WxErrorException
addToTemplate(long, int).
将草稿箱的草稿选为小程序代码模版.draftId - 草稿ID,本字段可通过“获取草稿箱内的所有临时代码草稿”接口获得WxErrorException - 操作失败时抛出,具体错误码请看此接口的注释文档#getTemplateDraftListvoid addToTemplate(long draftId,
int templateType)
throws WxErrorException
draftId - 草稿ID,本字段可通过“获取草稿箱内的所有临时代码草稿”接口获得templateType - 代码模版类型,【普通模板:0, 标准模板:1】WxErrorException - 操作失败时抛出,具体错误码请看此接口的注释文档#getTemplateDraftListvoid deleteTemplate(long templateId)
throws WxErrorException
templateId - 要删除的模版IDWxErrorException - 操作失败时抛出,具体错误码请看此接口的注释文档#getTemplateListWxOpenCreateResult createOpenAccount(String appId, String appIdType) throws WxErrorException
appId - 公众号/小程序的appIdappIdType - appId类型 me.chanjar.weixin.common.api.WxConsts.AppIdType mp-公众号 mini-小程序WxErrorException - .Boolean bindOpenAccount(String appId, String appIdType, String openAppid) throws WxErrorException
appId - 公众号/小程序的appIdappIdType - appId类型 me.chanjar.weixin.common.api.WxConsts.AppIdType mp-公众号 mini-小程序openAppid - 开放平台帐号 appid,由创建开发平台帐号接口返回WxErrorException - the wx error exceptionBoolean unbindOpenAccount(String appId, String appIdType, String openAppid) throws WxErrorException
appId - 公众号/小程序的appIdappIdType - appId类型 me.chanjar.weixin.common.api.WxConsts.AppIdType mp-公众号 mini-小程序openAppid - 开放平台帐号 appid,由创建开发平台帐号接口返回WxErrorException - the wx error exceptionWxOpenGetResult getOpenAccount(String appId, String appIdType) throws WxErrorException
appId - 公众号/小程序的appIdappIdType - appId类型 me.chanjar.weixin.common.api.WxConsts.AppIdType mp-公众号 mini-小程序WxErrorException - the wx error exceptionWxOpenHaveResult haveOpen() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenResult fastRegisterWeapp(String name, String code, String codeType, String legalPersonaWechat, String legalPersonaName, String componentPhone) throws WxErrorException
name - 企业名(需与工商部门登记信息一致)code - 企业代码codeType - 企业代码类型 1:统一社会信用代码(18位) 2:组织机构代码(9位xxxxxxxx-x) 3:营业执照注册号(15位)legalPersonaWechat - 法人微信号legalPersonaName - 法人姓名(绑定银行卡)componentPhone - 第三方联系电话(方便法人与第三方联系)WxErrorException - .WxOpenResult fastRegisterWeappSearch(String name, String legalPersonaWechat, String legalPersonaName) throws WxErrorException
name - 企业名(需与工商部门登记信息一致)legalPersonaWechat - 法人微信号legalPersonaName - 法人姓名(绑定银行卡)WxErrorException - .WxOpenRegisterPersonalWeappResult fastRegisterPersonalWeapp(String idname, String wxuser, String componentPhone) throws WxErrorException
idname - 个人用户名字wxuser - 个人用户微信号componentPhone - 第三方联系电话WxErrorExceptionWxOpenRegisterPersonalWeappResult fastRegisterPersonalWeappSearch(String taskid) throws WxErrorException
taskid - 任务IDWxErrorExceptionWxOpenRegisterBetaWeappResult fastRegisterBetaWeapp(String name, String openid) throws WxErrorException
name - 小程序名称openid - 微信用户的openid(不是微信号)WxErrorExceptionWxOpenResult registerShop(String wxName, String idCardName, String idCardNumber, String channelId, Integer apiOpenstoreType, String authPageUrl) throws WxErrorException
wxName - 微信号(必填)idCardName - 身份证姓名(必填)idCardNumber - 身份证号(必填)channelId - 渠道号,服务商后台生成渠道信息。(选填)apiOpenstoreType - 1-整店打包(开通小商店),2-组件开放(开通小程序,并且已经完整的嵌入电商功能)(必填)authPageUrl - 授权url(选填)WxErrorExceptionString checkAuditStatus(String wxName) throws WxErrorException
wxName - 微信号WxErrorExceptionString checkAuditStatus(String appId, String wxName) throws WxErrorException
appId - wxName - WxErrorExceptionWxOpenResult submitMerchantInfo(String appId, String subjectType, MinishopBusiLicense busiLicense, MinishopOrganizationCodeInfo organizationCodeInfo, MinishopIdcardInfo idcardInfo, MinishopSuperAdministratorInfo superAdministratorInfo, String merchantShoprtName) throws WxErrorException
appId - subjectType - busiLicense - organizationCodeInfo - idcardInfo - superAdministratorInfo - merchantShoprtName - WxErrorExceptionWxOpenResult submitBasicInfo(String appId, MinishopNameInfo nameInfo, MinishopReturnInfo returnInfo) throws WxErrorException
appId - nameInfo - returnInfo - WxErrorExceptionWxMinishopImageUploadResult uploadMinishopImagePicFile(String appId, Integer height, Integer width, File file) throws WxErrorException
height - width - file - WxErrorExceptionMinishopCategories getMinishopCategories(String appId, Integer fCatId) throws WxErrorException
appId:小商店APPID - fCatId:父类目ID,可先填0获取根部类目 - WxErrorExceptionMinishopBrandList getMinishopBrands(String appId) throws WxErrorException
appId:小商店appID - WxErrorExceptionMinishopDeliveryTemplateResult getMinishopDeliveryTemplate(String appId) throws WxErrorException
appId:小商店appID - WxErrorExceptionMinishopShopCatList getMinishopCatList(String appId) throws WxErrorException
appId - WxErrorExceptionWxMinishopAddGoodsSpuResult<List<WxMinishopDeliveryCompany>> getMinishopDeliveryCompany(String appId) throws WxErrorException
appId - WxErrorExceptionInteger minishopCreateCoupon(String appId, WxMinishopCoupon couponInfo) throws WxErrorException
appId:小商店的appId - couponInfo: - 优惠券信息WxErrorExceptionWxMinishopCouponStock minishopGetCouponList(String appId, String startCreateTime, String endCreateTime, Integer status, Integer page, Integer pageSize) throws WxErrorException
appId:小商店的appId - startCreateTime:优惠券创建时间的搜索开始时间 - endCreateTime:优惠券创建时间的搜索结束时间 - status:优惠券状态 - page:第几页(最小填1) - pageSize:每页数量(不超过10,000) - WxErrorExceptionWxOpenResult minishopPushCouponToUser(String appid, String openId, Integer couponId) throws WxErrorException
appid:小商店appId - openId:优惠券接收人的openId - couponId: - 优惠券IDWxErrorExceptionInteger minishopUpdateCoupon(String appId, WxMinishopCoupon couponInfo) throws WxErrorException
appId - couponInfo - WxErrorExceptionWxOpenResult minishopUpdateCouponStatus(String appId, Integer couponId, Integer status) throws WxErrorException
appId - couponId - status - WxErrorExceptionWxMinishopAddGoodsSpuResult<WxMinishopAddGoodsSpuData> minishopGoodsAddSpu(String appId, WxMinishopSpu spu) throws WxErrorException
appId - spu - WxErrorExceptionWxOpenResult minishopGoodsDelSpu(String appId, Long productId, Long outProductId) throws WxErrorException
appId - productId - outProductId - WxErrorExceptionWxMinishopAddGoodsSpuResult<WxMinishopAddGoodsSpuData> minishopGoodsUpdateSpu(String appId, WxMinishopSpu spu) throws WxErrorException
appId - spu - WxErrorExceptionWxOpenResult minishopGoodsListingSpu(String appId, Long productId, Long outProductId) throws WxErrorException
appId - productId - outProductId - WxErrorExceptionWxOpenResult minishopGoodsDelistingSpu(String appId, Long productId, Long outProductId) throws WxErrorException
appId - productId - outProductId - WxErrorExceptionWxMinishopAddGoodsSpuResult<WxMinishopAddGoodsSkuData> minishiopGoodsAddSku(String appId, WxMinishopSku sku) throws WxErrorException
appId - sku - WxErrorExceptionWxOpenResult minishopGoodsBatchAddSku(String appId, List<WxMinishopSku> skuList) throws WxErrorException
appId - skuList - WxErrorExceptionWxOpenResult minishopGoodsDelSku(String appId, Long productId, Long outProductId, String outSkuId, Long skuId) throws WxErrorException
appId - productId - outProductId - outSkuId - skuId - WxErrorExceptionWxOpenResult minishopGoodsUpdateSku(String appId, WxMinishopSku sku) throws WxErrorException
appId - sku - WxErrorExceptionWxOpenResult minishopGoodsUpdateSkuPrice(String appId, Long productId, Long outProductId, String outSkuId, Long skuId, Long salePrice, Long marketPrice) throws WxErrorException
appId - productId - outProductId - outSkuId - skuId - salePrice - marketPrice - WxErrorExceptionWxOpenResult minishopGoodsUpdateSkuStock(String appId, Long productId, Long outProductId, String outSkuId, Long skuId, Integer type, Integer stockNum) throws WxErrorException
appId - productId - outProductId - outSkuId - skuId - type - stockNum - WxErrorExceptionString minishopCommonPost(String appId, String url, String requestParam) throws WxErrorException
appId - url - requestParam - WxErrorExceptionInteger addLimitDiscountGoods(String appId, LimitDiscountGoods limitDiscountGoods) throws WxErrorException
appId - limitDiscountGoods - WxErrorExceptionList<LimitDiscountGoods> getLimitDiscountList(String appId, Integer status) throws WxErrorException
appId - status - WxErrorExceptionWxOpenResult updateLimitDiscountStatus(String appId, Long taskId, Integer status) throws WxErrorException
appId - taskId - status - WxErrorExceptionGetShareCloudBaseEnvResponse getShareCloudBaseEnv(List<String> appids) throws WxErrorException
appids - 要查询的appidWxErrorExceptionGetTcbEnvListResponse getTcbEnvList() throws WxErrorException
WxErrorExceptionWxOpenResult changeTcbEnv(String env) throws WxErrorException
env - 环境idWxErrorExceptionShareCloudBaseEnvResponse shareCloudBaseEnv(ShareCloudBaseEnvRequest request) throws WxErrorException
request - WxErrorExceptionWxOpenResult clearQuotaV2(String appid) throws WxErrorException
appid - 授权用户appidWxErrorExceptionWxOpenResult applySetOrderPathInfo(WxOpenMaApplyOrderPathInfo info) throws WxErrorException
info - 订单页path信息WxErrorException - .Copyright © 2024. All rights reserved.