@@ -35,7 +35,7 @@ nbbuild/
dist/
nbdist/
.nb-gradle/
-
+*DS_Store
######################################################################
# Others
*.log
@@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
- url: jdbc:mysql://localhost:3306/vip19?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
- username: root
- password: 123456
+ url: jdbc:mysql://localhost:13306/post?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ username: post
+ password: post
# 从库数据源
slave:
# 从数据源开关/默认关闭
@@ -72,7 +72,7 @@ spring:
# 地址
host: localhost
# 端口,默认为6379
- port: 6379
+ port: 26379
# 数据库索引
database: 0
# 密码
@@ -171,7 +171,7 @@ Router.prototype.push = function push(location) {
}
export default new Router({
- mode: 'history', // 去掉url中的#
+ mode: 'hash', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})