Files
new-api/service/epay.go

14 lines
219 B
Go
Raw Normal View History

package service
2024-04-18 17:52:18 +08:00
import (
"one-api/common"
"one-api/constant"
)
func GetCallbackAddress() string {
2024-04-18 17:52:18 +08:00
if constant.CustomCallbackAddress == "" {
return common.ServerAddress
}
2024-04-18 17:52:18 +08:00
return constant.CustomCallbackAddress
}