mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-02 20:33:42 +08:00
feat: 可自定义支付回调地址及最低购买数量
This commit is contained in:
10
service/epay.go
Normal file
10
service/epay.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package service
|
||||
|
||||
import "one-api/common"
|
||||
|
||||
func GetCallbackAddress() string {
|
||||
if common.CustomCallbackAddress == "" {
|
||||
return common.ServerAddress
|
||||
}
|
||||
return common.CustomCallbackAddress
|
||||
}
|
||||
Reference in New Issue
Block a user