🎨 #2461 【小程序】自定义交易组件上传接口支持图片链接
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user