-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加 微信小商店 标准版 接口 #2758
Merged
Merged
增加 微信小商店 标准版 接口 #2758
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
332e892
微信客服 接待人员管理,会话分配与消息收发,基础信息获取等
8a4c58d
素材上传
7a4efe3
序列化注解
163da81
Merge branch 'develop' of github.com:Wechat-Group/WxJava into develop
c86852b
增加微信小程序 物流服务中的查询组件接口
ead9972
修改类型错误
0c31b53
修改字段
318b76b
增加微信小程序 物流服务中的查询组件接口
a91a0d4
修改类型错误
bf098f5
修改字段
575f3fb
Merge remote-tracking branch 'origin/develop' into develop
aa33ad9
物流查询服务
6c48307
序列化注解
9e21001
交易组件补充字段
36071f8
客服升级服务接口
db26bf6
内部类修改
1249dff
视频号分享人接口
029661e
视频号分享人接口
272c8c5
Merge branch 'develop' of github.com:Wechat-Group/WxJava into develop
35c3004
fix
e0b0680
标准交易组件
debcb4c
分享员订单结构修复
dbdba96
补充字段
547f889
售后单接口补全
52f64b1
自定义交易组件下单字段补全
b15379a
字段错误修复
bd32832
自定义交易组件优惠券接口
268972e
交易组件接口补充
362f1ea
添加 小程序交易组件-标准版--订单相关服务
4e75379
交易组件上传图片
33e224c
修复字段类型
09cad8b
common
aa18a48
修复npe
f69a253
售后接口
f5a1d44
交易组件订单服务
b023ae9
交易组件订单服务
2b20113
交易组件订单服务
3baaa41
获取sku列表
bb5dedf
sku字段补全
37a4ba9
sku返回值修复
ebdf03f
sku返回值修复
24daf64
售后单列表
b97b726
请求发货
2117030
Merge branch 'develop' of github.com:Wechat-Group/WxJava into develop
edde6b8
fix 属性
494c5fb
修改 接口注释
fd0077e
修改 接口注释
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/WxMaProductOrderService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
package cn.binarywang.wx.miniapp.api; | ||
|
||
import cn.binarywang.wx.miniapp.bean.product.WxMiniBatchGetAfterSaleOrderResponse; | ||
import cn.binarywang.wx.miniapp.bean.product.WxMiniGetAfterSaleOrderResponse; | ||
import cn.binarywang.wx.miniapp.bean.product.WxMiniOrderDeliveryRequest; | ||
import cn.binarywang.wx.miniapp.bean.product.WxMinishopOrderDetailResponse; | ||
import cn.binarywang.wx.miniapp.bean.product.WxMinishopOrderListResponse; | ||
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopBaseResponse; | ||
import java.util.List; | ||
import me.chanjar.weixin.common.error.WxErrorException; | ||
|
||
/** | ||
* 小程序交易组件-标准版-商品服务 | ||
* | ||
* @author boris | ||
*/ | ||
public interface WxMaProductOrderService { | ||
|
||
|
||
/** | ||
* 获取订单列表 | ||
* | ||
* @param startCreateTime 否(未填更新时间范围时必填) | ||
* @param endCreateTime 否(未填更新时间范围时必填) | ||
* @param startUpdateTime 否(未填创建时间范围时必填) | ||
* @param endUpdateTime 否(未填创建时间范围时必填) | ||
* @param status 订单状态,枚举值见RequestOrderStatus | ||
* @param page 第几页(最小填1) | ||
* @param pageSize 每页数量(不超过10,000) | ||
* @param source 1:小商店,2:CPS带货 | ||
* @return | ||
* @throws WxErrorException | ||
*/ | ||
WxMinishopOrderListResponse getOrderList( | ||
String startCreateTime, | ||
String endCreateTime, | ||
String startUpdateTime, | ||
String endUpdateTime, | ||
Integer status, | ||
Integer page, | ||
Integer pageSize, | ||
Integer source | ||
) throws WxErrorException; | ||
|
||
|
||
/** | ||
* 获取订单详情 | ||
* | ||
* @param orderId 订单ID,可从获取订单列表中获得 | ||
* @return | ||
*/ | ||
WxMinishopOrderDetailResponse getOrderDetail(Long orderId) throws WxErrorException; | ||
|
||
|
||
/** | ||
* 修改订单备注 | ||
* @param orderId 订单id | ||
* @param merchantNotes 备注内容 | ||
*/ | ||
void changeMerchantNotes(Long orderId,String merchantNotes) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse deliverySend(WxMiniOrderDeliveryRequest request) | ||
throws WxErrorException; | ||
|
||
WxMiniGetAfterSaleOrderResponse getAfterSaleOrder(Long afterSaleOrderId) | ||
throws WxErrorException; | ||
|
||
WxMiniBatchGetAfterSaleOrderResponse batchGetAfterSaleOrder(List<Long> afterSaleOrderIdList) | ||
throws WxErrorException; | ||
|
||
WxMaShopBaseResponse afterSaleAccept(Long orderId, Long addressId) | ||
throws WxErrorException; | ||
|
||
WxMaShopBaseResponse afterSaleReject(Long afterSaleOrderId, String rejectReason) | ||
throws WxErrorException; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/api/WxMaShopCouponService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package cn.binarywang.wx.miniapp.api; | ||
|
||
import cn.binarywang.wx.miniapp.bean.shop.WxMaShopCouponInfo; | ||
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopBaseResponse; | ||
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopCouponListResponse; | ||
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopCouponResponse; | ||
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopUserCouponListResponse; | ||
import me.chanjar.weixin.common.error.WxErrorException; | ||
|
||
/** | ||
* @author leiin | ||
* @date 2022/7/1 2:49 下午 | ||
*/ | ||
public interface WxMaShopCouponService { | ||
|
||
WxMaShopBaseResponse addCoupon(WxMaShopCouponInfo couponInfo) throws WxErrorException; | ||
|
||
WxMaShopCouponResponse getCoupon(String outCouponId) throws WxErrorException; | ||
|
||
WxMaShopCouponListResponse getCouponList(Integer pageSize, | ||
Integer offset) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse updateCoupon(WxMaShopCouponInfo couponInfo) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse updateCouponStatus(String outCouponId, | ||
Integer status) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse updateCouponStock(String outCouponId, Integer isUsedNum, Integer receiveNum) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse addUserCoupon(String openid, String outUserCouponId, | ||
String outCouponId, Integer status, Long recvTime) throws WxErrorException; | ||
|
||
WxMaShopUserCouponListResponse getUserCouponList(Integer pageSize, Integer offset, String openid) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse updateUserCoupon(String openid, String outUserCouponId, | ||
String outCouponId, Long useTime, Long recvTime) throws WxErrorException; | ||
|
||
WxMaShopBaseResponse updateUserCouponStatus(String openid, String outUserCouponId, | ||
String outCouponId, Integer status) throws WxErrorException; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💬 7 similar findings have been found in this PR
EmptyBlockTag: A block tag (@param, @return, @throws, @deprecated) has an empty description. Block tags without descriptions don't add much value for future readers of the code; consider removing the tag entirely or adding a description.
Expand here to view all instances of this finding
Visit the Lift Web Console to find more details in your report.
Reply with "@sonatype-lift help" for info about LiftBot commands.
Reply with "@sonatype-lift ignore" to tell LiftBot to leave out the above finding from this PR.
Reply with "@sonatype-lift ignoreall" to tell LiftBot to leave out all the findings from this PR and from the status bar in Github.
When talking to LiftBot, you need to refresh the page to see its response. Click here to get to know more about LiftBot commands.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]