All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.open.api.WxOpenMinishopService Maven / Gradle / Ivy

The newest version!
package me.chanjar.weixin.open.api;

import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.open.bean.minishop.*;
import me.chanjar.weixin.open.bean.result.WxOpenResult;

import java.io.File;

/**
 * 微信小商店开店接口
 * add by kelven 2021-01-29
 */
public interface WxOpenMinishopService {
  String submitMerchantInfoUrl = "https://api.weixin.qq.com/product/register/submit_merchantinfo";

  String submitBasicInfoUrl = "https://api.weixin.qq.com/product/register/submit_basicinfo";

  String UPLOAD_IMG_MINISHOP_FILE_URL = "https://api.weixin.qq.com/product/img/upload";

  String getCategoryUrl = "https://api.weixin.qq.com/product/category/get";

  String getBrandsUrl = "https://api.weixin.qq.com/product/brand/get";

  String getDeliveryUrl = "https://api.weixin.qq.com/product/delivery/get_freight_template";

  /**
   * 获取店铺的商品分类
   */
  String getShopCatUrl = "https://api.weixin.qq.com/product/store/get_shopcat";


  /**
   * @param appId
   * @param subjectType
   * @param busiLicense
   * @param organizationCodeInfo
   * @param idcardInfo
   * @param superAdministratorInfo
   * @param merchantShoprtName
   * @return
   */
  WxOpenResult submitMerchantInfo(String appId, String subjectType, MinishopBusiLicense busiLicense, MinishopOrganizationCodeInfo organizationCodeInfo, MinishopIdcardInfo idcardInfo, MinishopSuperAdministratorInfo superAdministratorInfo, String merchantShoprtName) throws WxErrorException;


  WxOpenResult submitBasicInfo(String appId, MinishopNameInfo nameInfo, MinishopReturnInfo returnInfo);

  MinishopAuditStatus checkAuditStatus(String wxName) throws WxErrorException;

  String uploadImagePicFile(Integer height, Integer width, File file) throws WxErrorException;

  MinishopCategories getCategory(Integer fCatId);

  MinishopBrandList getBrands();


  MinishopShopCatList getShopCat();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy