Browse Source

修改连接的数据库

pull/1/head
zhangxin 3 years ago
parent
commit
1019eadbf2
2 changed files with 11 additions and 1 deletions
  1. +1
    -1
      conf/db.go
  2. +10
    -0
      demo.go

+ 1
- 1
conf/db.go View File

@ -27,7 +27,7 @@ var MasterDbConfig DbConf = DbConf{
// Port: 3306,
// User: "root",
// Pwd: "root",
// DbName: "lappserver",
// DbName: "saisiwei",
// BackUp: "C:\\lappServer\\dblog",
//}


+ 10
- 0
demo.go View File

@ -0,0 +1,10 @@
/******************************************************************************
* @Function Name :
*-----------------------------------------------------------------------------
* @Description :
* @Function Parameters:
* @Return Value :
* @Author : Zhang Xin
* @Date : 2021/3/3 11:02
******************************************************************************/
package main

Loading…
Cancel
Save