1
0
mirror of synced 2025-12-19 06:37:59 +08:00

🎨 #2461 【小程序】自定义交易组件上传接口支持图片链接

This commit is contained in:
linlinjava
2021-12-27 15:03:02 +08:00
committed by GitHub
parent 31984c130f
commit c66ecbfd4d
7 changed files with 88 additions and 21 deletions

View File

@@ -35,4 +35,11 @@ public class WxMaShopImgServiceImplTest {
WxMinishopImageUploadCustomizeResult result = wxService.getShopImgService().uploadImg(file, "1");
assertThat(result).isNotNull();
}
@Test
public void testUploadImg3() throws WxErrorException {
String imgUrl = "https://www.example.com/demo.jpg";
WxMinishopImageUploadCustomizeResult result = wxService.getShopImgService().uploadImg(imgUrl, "1");
assertThat(result).isNotNull();
}
}