Przeglądaj źródła

add Reverse:for v1.1.9 测试

tags/v1.2.0
huangjuajun 2 lat temu
rodzic
commit
acd87dbd5b
2 zmienionych plików z 3 dodań i 1 usunięć
  1. +1
    -1
      pay/init.go
  2. +2
    -0
      pay/logs/zyos_website.logs

+ 1
- 1
pay/init.go Wyświetl plik

@@ -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.logs"
cfg.Path = "./logs/%s.logs"
if err := db.InitDB(&cfg); err != nil {
return err
}


+ 2
- 0
pay/logs/zyos_website.logs Wyświetl plik

@@ -0,0 +1,2 @@
[xorm] [info] 2022/05/31 10:40:31.829104 [SQL] SELECT `id`, `channel_id`, `identifier`, `master_id`, `master_nickname`, `app_id` FROM `pay_channel_master` WHERE (app_id = ?) AND (identifier = ?) LIMIT 1 [35618318 mall] - 28.9565ms
[xorm] [info] 2022/05/31 10:41:41.231871 [SQL] SELECT `id`, `channel_id`, `identifier`, `master_id`, `master_nickname`, `app_id` FROM `pay_channel_master` WHERE (app_id = ?) AND (identifier = ?) LIMIT 1 [35618318 mall] - 24.9118ms

Ładowanie…
Anuluj
Zapisz