This commit is contained in:
蒋海成 2025-02-22 15:44:16 +08:00
parent 7ecadf2721
commit 6d0ff34680
2 changed files with 5 additions and 1 deletions

View File

@ -100,6 +100,8 @@ var (
// 审批 es index // 审批 es index
ApprovalIndex string ApprovalIndex string
Webhookkey string
) )
var ConfigData = new(AppConfig) var ConfigData = new(AppConfig)
@ -234,6 +236,8 @@ func LoadServer(file *ini.File) {
// 审批 es index // 审批 es index
ApprovalIndex = file.Section("es").Key("ApprovalIndex").String() ApprovalIndex = file.Section("es").Key("ApprovalIndex").String()
Webhookkey = file.Section("stripe").Key("Webhookkey").String()
} }
func Viper(iniConf string) (err error) { func Viper(iniConf string) (err error) {

View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"fonchain-fiee/api/bundle" "fonchain-fiee/api/bundle"
"fonchain-fiee/api/order" "fonchain-fiee/api/order"
"fonchain-fiee/cmd/config" "fonchain-fiee/pkg/config"
"fonchain-fiee/pkg/model/login" "fonchain-fiee/pkg/model/login"
"fonchain-fiee/pkg/service" "fonchain-fiee/pkg/service"
"fonchain-fiee/pkg/service/bundle/common" "fonchain-fiee/pkg/service/bundle/common"