添加微信支付下单

This commit is contained in:
tangping
2025-01-08 17:48:14 +08:00
parent 187c573942
commit c4c8bea3c1
25 changed files with 863 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ root:
max_idle_conns: 0
# 数据库连接字符串
connection_string: "root:Qq5201530300@tcp(192.168.50.110:3306)/user?charset=utf8&parseTime=true&loc=Local&timeout=30s&multiStatements=true"
connection_string: "root:Qq5201530300@tcp(192.168.50.110:3306)/pay?charset=utf8&parseTime=true&loc=Local&timeout=30s&multiStatements=true"
redis_config:
# 数据库连接字符串

View File

@@ -5,7 +5,7 @@ services:
container_name: mysql-admin
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: admin,user
MYSQL_DATABASE: admin,pay
volumes:
- /my/own/datadir:/var/lib/mysql
ports:

View File

@@ -17,5 +17,5 @@ type Game struct {
}
func (Game) TableName() string {
return "user"
return "pay"
}

View File

@@ -32,5 +32,5 @@ type User struct {
}
func (User) TableName() string {
return "user"
return "pay"
}