Browse Source

update

tags/v0.2.1
DengBiao 2 years ago
parent
commit
460c3f0891
3 changed files with 2 additions and 3 deletions
  1. +0
    -1
      .gitignore
  2. +1
    -1
      pay/init.go
  3. +1
    -1
      pay/pay_test.go

+ 0
- 1
.gitignore View File

@@ -40,6 +40,5 @@ nginx.conf
.devcontainer/Dockerfile
.devcontainer/sources.list
/t1.go
/tmp/*
.idea/*
/.idea/modules.xml

+ 1
- 1
pay/init.go View File

@@ -26,7 +26,7 @@ func Init(host, name, user, psw string) error {
cfg.MaxLifetime = 30
cfg.MaxOpenConns = 100
cfg.MaxIdleConns = 100
cfg.Path = "logs/%s.log"
cfg.Path = "tmp/%s.log"
if err := db.InitDB(&cfg); err != nil {
return err
}


+ 1
- 1
pay/pay_test.go View File

@@ -13,5 +13,5 @@ func TestPay(t *testing.T) {
if err != nil {
t.Errorf("Reverse == %s", err)
}
t.Log(channel.Name)
t.Log(channel.Identifier)
}

Loading…
Cancel
Save