|
|
|
@ -6,16 +6,16 @@ import (
|
|
|
|
|
|
|
|
|
|
func GetName() string {
|
|
|
|
|
if configs.IsProductionEnv() {
|
|
|
|
|
return "https://jyyapi.reecook.cn"
|
|
|
|
|
return "https://mallapi.reecook.cn"
|
|
|
|
|
} else {
|
|
|
|
|
return "https://testapi.zjycshop.com"
|
|
|
|
|
return "https://testapi.reecook.com"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func GetCDN() string {
|
|
|
|
|
if configs.IsProductionEnv() {
|
|
|
|
|
return "https://jyycdn.reecook.cn"
|
|
|
|
|
return "https://mallcdn.reecook.cn"
|
|
|
|
|
} else {
|
|
|
|
|
return "http://testcdn.zjycshop.com"
|
|
|
|
|
return "https://testcdn.reecook.com"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|