🆕 #2758 【小程序】增加微信小商店标准版相关接口

This commit is contained in:
Boris
2022-07-26 21:45:32 +08:00
committed by GitHub
parent b550806956
commit 1747190674
44 changed files with 1965 additions and 60 deletions

View File

@@ -419,10 +419,27 @@ public class WxMaApiUrlConstants {
String PRODUCT_UPDATE_SKU_URL = "https://api.weixin.qq.com/product/sku/update";
String PRODUCT_UPDATE_SKU_PRICE_URL = "https://api.weixin.qq.com/product/sku/update_price";
String PRODUCT_UPDATE_SKU_STOCK_URL = "https://api.weixin.qq.com/product/stock/update";
String PRODUCT_SKU_LIST = "https://api.weixin.qq.com/product/sku/get_list";
}
interface Order {
String PRODUCT_ORDER_GET_LIST = "https://api.weixin.qq.com/product/order/get_list";
String PRODUCT_ORDER_DETAIL_URL = "https://api.weixin.qq.com/product/order/get";
String PRODUCT_ORDER_CHANGE_MERCHANT_NOTES_URL = "https://api.weixin.qq.com/product/order/change_merchant_notes";
String PRODUCT_DELIVERY_SEND = "https://api.weixin.qq.com/product/delivery/send";
String GET_AFTER_SALE_ORDER = "https://api.weixin.qq.com/product/order/getaftersaleorder";
String BATCH_GET_AFTER_SALE_ORDER = "https://api.weixin.qq.com/product/order/batchgetaftersaleorder";
String AFTER_SALE_ACCEPT_APPLY = "https://api.weixin.qq.com/product/order/acceptapply";
String AFTER_SALE_REJECT_APPLY = "https://api.weixin.qq.com/product/order/rejectrefund";
}
interface OTHER {
String GET_CATEGORY = "https://api.weixin.qq.com/product/category/get";
String GET_BRAND = "https://api.weixin.qq.com/product/brand/get";
String GET_FREIGHT_TEMPLATE = "https://api.weixin.qq.com/product/delivery/get_freight_template";
String IMG_UPLOAD = "https://api.weixin.qq.com/product/img/upload";
}
}
@@ -484,9 +501,17 @@ public class WxMaApiUrlConstants {
}
interface Aftersale {
String AFTERSALE_ADD = "https://api.weixin.qq.com/shop/aftersale/add";
String AFTERSALE_GET = "https://api.weixin.qq.com/shop/aftersale/get";
String AFTERSALE_UPDATE = "https://api.weixin.qq.com/shop/aftersale/update";
String AFTERSALE_ADD = "https://api.weixin.qq.com/shop/ecaftersale/add";
String AFTERSALE_CANCEL = "https://api.weixin.qq.com/shop/ecaftersale/cancel";
String AFTERSALE_UPDATE = "https://api.weixin.qq.com/shop/ecaftersale/update";
String AFTERSALE_UPLOAD_RETURN_INFO = "https://api.weixin.qq.com/shop/ecaftersale/uploadreturninfo";
String AFTERSALE_ACCEPT_REFUND = "https://api.weixin.qq.com/shop/ecaftersale/acceptrefund";
String AFTERSALE_ACCEPT_RETURN = "https://api.weixin.qq.com/shop/ecaftersale/acceptreturn";
String AFTERSALE_REJECT = "https://api.weixin.qq.com/shop/ecaftersale/reject";
String AFTERSALE_UPLOAD_CERTIFICATES = "https://api.weixin.qq.com/shop/ecaftersale/upload_certificates";
String AFTERSALE_UPLOAD_DEADLINE = "https://api.weixin.qq.com/shop/aftersale/update_deadline";
String AFTERSALE_GET_LIST = "https://api.weixin.qq.com/shop/ecaftersale/get_list";
String AFTERSALE_GET = "https://api.weixin.qq.com/shop/ecaftersale/get";
}
interface Sharer {
@@ -498,6 +523,19 @@ public class WxMaApiUrlConstants {
String SEARCH_SHARER = "https://api.weixin.qq.com/shop/sharer/search_sharer";
String UNBIND = "https://api.weixin.qq.com/shop/sharer/unbind";
}
interface Coupon {
String ADD_COUPON = "https://api.weixin.qq.com/shop/coupon/add";
String GET_COUPON = "https://api.weixin.qq.com/shop/coupon/get";
String GET_COUPON_LIST = "https://api.weixin.qq.com/shop/coupon/get_list";
String UPDATE_COUPON = "https://api.weixin.qq.com/shop/coupon/update";
String UPDATE_COUPON_STATUS = "https://api.weixin.qq.com/shop/coupon/update_status";
String UPDATE_COUPON_STOCK = "https://api.weixin.qq.com/shop/coupon/update_coupon_stock";
String ADD_USER_COUPON = "https://api.weixin.qq.com/shop/coupon/add_user_coupon";
String GET_USER_COUPON_LIST = "https://api.weixin.qq.com/shop/coupon/get_usercoupon_list";
String UPDATE_USER_COUPON = "https://api.weixin.qq.com/shop/coupon/update_user_coupon";
String UPDATE_USER_COUPON_STATUS = "https://api.weixin.qq.com/shop/coupon/update_usercoupon_status";
}
}
/**