change author's own url

This commit is contained in:
2025-12-23 11:34:02 +08:00
parent 9f2583baab
commit b072f82a8f
4 changed files with 7 additions and 7 deletions
@@ -57,7 +57,7 @@
<constraints/> <constraints/>
<properties> <properties>
<font name="PingFang SC" size="14"/> <font name="PingFang SC" size="14"/>
<text value="https://gitee.com/msksbr"/> <text value="https://msksbr.com/msksbr"/>
</properties> </properties>
</component> </component>
</children> </children>
@@ -15,7 +15,7 @@
<component id="a6e23" class="javax.swing.JLabel"> <component id="a6e23" class="javax.swing.JLabel">
<constraints/> <constraints/>
<properties> <properties>
<text value="本项目已在gitee.com开源"/> <text value="本项目已在git.msksbr.com开源"/>
</properties> </properties>
</component> </component>
</children> </children>
@@ -3,7 +3,7 @@
<grid id="cbd77" binding="contentPane" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1"> <grid id="cbd77" binding="contentPane" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="10" left="10" bottom="10" right="10"/> <margin top="10" left="10" bottom="10" right="10"/>
<constraints> <constraints>
<xy x="48" y="54" width="573" height="297"/> <xy x="48" y="54" width="601" height="297"/>
</constraints> </constraints>
<properties/> <properties/>
<border type="none"/> <border type="none"/>
@@ -54,7 +54,7 @@
<constraints/> <constraints/>
<properties> <properties>
<font name="PingFang SC" size="14"/> <font name="PingFang SC" size="14"/>
<text value="https://gitee.com/msksbr/system-homework-in-the-library"/> <text value="https://git.msksbr.com/msksbr/system-homework-in-the-library"/>
</properties> </properties>
</component> </component>
</children> </children>
@@ -70,7 +70,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints> </constraints>
<properties> <properties>
<text value="本软件完全免费,如果您从任何渠道购买到此软件及其源码,请联系作者:3141661556@qq.com"/> <text value="本软件完全免费,如果您从任何渠道购买到此软件及其源码,请联系作者:gugugulaocuchen@gmail.com"/>
</properties> </properties>
</component> </component>
</children> </children>
+2 -2
View File
@@ -11,7 +11,7 @@ public class Connector {
// SQL语句执行对象 // SQL语句执行对象
private Statement stmt; private Statement stmt;
// 数据库连接URL // 数据库连接URL
private String url = "jdbc:mysql://192.168.154.139:3306/book"; private String url = "jdbc:mysql://localhost:3306/book";
// 数据库用户名 // 数据库用户名
private String user = "root"; private String user = "root";
@@ -19,7 +19,7 @@ public class Connector {
* 构造方法,初始化数据库连接。 * 构造方法,初始化数据库连接。
* *
* @throws ClassNotFoundException 如果找不到MySQL驱动类。 * @throws ClassNotFoundException 如果找不到MySQL驱动类。
* @throws SQLException 如果数据库连接失败。 * @throws SQLException 如果数据库连接失败。
*/ */
public Connector() throws ClassNotFoundException, SQLException { public Connector() throws ClassNotFoundException, SQLException {
// 加载MySQL驱动类 // 加载MySQL驱动类