Skip to content

Commit

Permalink
back for practice.
Browse files Browse the repository at this point in the history
  • Loading branch information
钱继志 committed Jun 4, 2018
1 parent af93d10 commit 6efd6c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/spring/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<!-- 数据源:DB连接配置 -->
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://192.168.100.133:3306/order?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8" />
<property name="username" value="tester" />
<property name="password" value="123456qwerty&amp;&amp;" />
<property name="url" value="jdbc:mysql://YourDBHost:YourDBPort/order?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8" />
<property name="username" value="YourDBUsername" />
<property name="password" value="YourDBPassword" />
</bean>

<!-- 数据会话工厂:映射模型包-->
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/jsp/common/header.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a class="navbar-brand">
<small>
<i class="icon-leaf"></i>
我的家常菜
家常菜
</small>
</a><!-- /.brand -->
</div><!-- /.navbar-header -->
Expand Down

0 comments on commit 6efd6c7

Please sign in to comment.