init: cdk初步+语言管理
This commit is contained in:
@@ -117,6 +117,15 @@
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-plugin-sys</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-plugin-cdk</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-plugin-inter</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -27,7 +27,7 @@ spring.servlet.multipart.max-file-size=100MB
|
||||
|
||||
# mysql
|
||||
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
spring.datasource.dynamic.datasource.master.url=jdbc:mysql://localhost:3306/snowys?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true&rewriteBatchedStatements=true
|
||||
spring.datasource.dynamic.datasource.master.url=jdbc:mysql://localhost:3306/authcode?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true&rewriteBatchedStatements=true
|
||||
spring.datasource.dynamic.datasource.master.username=root
|
||||
spring.datasource.dynamic.datasource.master.password=12356
|
||||
spring.datasource.dynamic.strict=true
|
||||
|
||||
@@ -12,10 +12,13 @@
|
||||
*/
|
||||
package vip.storm;
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
import vip.storm.inter.modular.projectlang.param.InterProjectParam;
|
||||
import vip.storm.inter.modular.projectlang.service.InterProjectLangService;
|
||||
|
||||
/**
|
||||
* 主测试类
|
||||
@@ -27,8 +30,13 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
@SpringBootTest(classes = Application.class)
|
||||
public class MainTest {
|
||||
|
||||
@Resource
|
||||
private InterProjectLangService interProjectLangService;
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
|
||||
InterProjectParam interProjectParam = new InterProjectParam();
|
||||
interProjectParam.setProjectId("1971495116232785921");
|
||||
interProjectLangService.editData(interProjectParam);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user