14 lines
298 B
Go
14 lines
298 B
Go
|
|
package controller
|
||
|
|
|
||
|
|
import (
|
||
|
|
"strings"
|
||
|
|
|
||
|
|
"github.com/QuantumNous/new-api/common"
|
||
|
|
"github.com/QuantumNous/new-api/setting/system_setting"
|
||
|
|
)
|
||
|
|
|
||
|
|
func paymentReturnPath(suffix string) string {
|
||
|
|
base := strings.TrimRight(system_setting.ServerAddress, "/")
|
||
|
|
return base + common.ThemeAwarePath(suffix)
|
||
|
|
}
|