mall + trade:code review 快递计算逻辑

This commit is contained in:
YunaiV
2023-06-12 00:20:20 +08:00
parent e1a8e45ac7
commit dcb1660880
17 changed files with 111 additions and 51 deletions

View File

@@ -17,11 +17,12 @@ import javax.annotation.Resource;
import static org.junit.jupiter.api.Assertions.assertThrows;
// TODO @芋艿:单测最后 review
/**
* @author jason
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE, classes = KdNiaoExpressQueryProviderTest.Application.class)
@ActiveProfiles("trade-delivery-query") // 设置使用 trade-delivery-query 配置文件
@ActiveProfiles("trade-delivery-query") // 设置使用 trade-delivery-query 配置文件 TODO @jason可以直接写到 application-unit-test.yaml 配置文件里
public class KdNiaoExpressQueryProviderTest {
@Resource
private RestTemplateBuilder builder;
@@ -51,4 +52,4 @@ public class KdNiaoExpressQueryProviderTest {
@EnableConfigurationProperties(TradeExpressQueryProperties.class)
public static class Application {
}
}
}