diff --git a/api-web/api-interface/pom.xml b/api-web/api-interface/pom.xml
index 5c063d5..c5aeab6 100644
--- a/api-web/api-interface/pom.xml
+++ b/api-web/api-interface/pom.xml
@@ -24,6 +24,12 @@
+ * 所有集成测试继承此类,自动加载 Spring 上下文和 dev 环境配置。 + * 子类可直接 @Autowired 注入需要测试的 Service 或 Mapper。 + *
+ * 使用方式: + *
+ * @SpringBootTest(classes = ApiUserApiApplication.class)
+ * class MyServiceTest extends ApiInterfaceApplicationTests {
+ * @Autowired
+ * private MyService myService;
+ *
+ * @Test
+ * void myTest() {
+ * // ...
+ * }
+ * }
+ *
+ */
+@SpringBootTest(classes = ApiUserApiApplication.class)
+@ActiveProfiles("dev")
+public class ApiInterfaceApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}