🎨 #4022 【视频号】小店“拒绝售后”接口添加拒绝凭证参数支持
This commit is contained in:
@@ -70,6 +70,18 @@ public class WxChannelAfterSaleServiceImplTest {
|
||||
assertTrue(response.isSuccess());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRejectWithCertificates() throws WxErrorException {
|
||||
WxChannelAfterSaleService afterSaleService = channelService.getAfterSaleService();
|
||||
String afterSaleOrderId = "";
|
||||
String rejectReason = null;
|
||||
List<String> rejectCertificates = new ArrayList<>(4);
|
||||
rejectCertificates.add("THE_FILE_ID_1");
|
||||
WxChannelBaseResponse response = afterSaleService.reject(afterSaleOrderId, rejectReason, 1, rejectCertificates);
|
||||
assertNotNull(response);
|
||||
assertTrue(response.isSuccess());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUploadRefundEvidence() throws WxErrorException {
|
||||
WxChannelAfterSaleService afterSaleService = channelService.getAfterSaleService();
|
||||
|
||||
Reference in New Issue
Block a user