1
0
mirror of synced 2026-04-09 10:09:30 +08:00

🎨 #3594【视频号】微信小店更新售后、订单详情等返回参数,并修改获取售后单列表和获取快递公司列表等接口的参数

This commit is contained in:
Zeyes Lee
2025-05-22 15:07:25 +08:00
committed by GitHub
parent 8bacc9425e
commit 5bde717f8f
14 changed files with 223 additions and 15 deletions

View File

@@ -20,6 +20,7 @@ import me.chanjar.weixin.channel.bean.order.OrderAddressInfo;
import me.chanjar.weixin.channel.bean.order.OrderInfoResponse;
import me.chanjar.weixin.channel.bean.order.OrderListParam;
import me.chanjar.weixin.channel.bean.order.OrderListResponse;
import me.chanjar.weixin.channel.bean.order.OrderSearchCondition;
import me.chanjar.weixin.channel.bean.order.OrderSearchParam;
import me.chanjar.weixin.channel.bean.order.VirtualTelNumberResponse;
import me.chanjar.weixin.channel.test.ApiTestModule;
@@ -68,6 +69,10 @@ public class WxChannelOrderServiceImplTest {
public void testSearchOrder() throws WxErrorException {
WxChannelOrderService orderService = channelService.getOrderService();
OrderSearchParam param = new OrderSearchParam();
param.setPageSize(100);
OrderSearchCondition searchCondition = new OrderSearchCondition();
searchCondition.setTitle("");
param.setSearchCondition(searchCondition);
OrderListResponse response = orderService.searchOrder(param);
assertNotNull(response);
assertTrue(response.isSuccess());
@@ -145,7 +150,7 @@ public class WxChannelOrderServiceImplTest {
@Test
public void testListDeliveryCompany() throws WxErrorException {
WxChannelOrderService orderService = channelService.getOrderService();
DeliveryCompanyResponse response = orderService.listDeliveryCompany();
DeliveryCompanyResponse response = orderService.listDeliveryCompany(false);
assertNotNull(response);
assertTrue(response.isSuccess());
}