提交 14bddbae authored 作者: 吴德鹏's avatar 吴德鹏

更新

上级 1488d01b
package com.example.afrishop_v3;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class AfrishopV3Application {
private static Logger logger = LoggerFactory.getLogger(AfrishopV3Application.class);
public static void main(String[] args) {
SpringApplication.run(AfrishopV3Application.class, args);
System.out.println(" __ _ _\n" +
" __ _ / _|_ __(_)___| |__ ___ _ __\n" +
" / _` | |_| '__| / __| '_ \\ / _ \\| '_ \\\n" +
"| (_| | _| | | \\__ \\ | | | (_) | |_) |\n" +
" \\__,_|_| |_| |_|___/_| |_|\\___/| .__/ \n" +
" |_|\n");
logger.info("afrishop项目启动成功!");
}
}
server.port=8083
server.servlet.context-path=/zion
spring.jpa.hibernate.ddl-auto=update
server.port = 7000
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/chinafrica_ref?useUnicode=true&connectionCollation=utf8mb4_general_ci&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:47.106.242.175}:3306/afrishop_test?useUnicode=true&connectionCollation=utf8mb4_general_ci&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=Diaoyunnuli.8
spring.datasource.password=diaoyun666
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
spring.datasource.connectionInitSql: SET NAMES 'utf8mb4'
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
......
......@@ -8,6 +8,8 @@ class AfrishopV3ApplicationTests {
@Test
void contextLoads() {
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论