dw-sdk/url.go

14 lines
213 B
Go
Raw Normal View History

package dw_sdk
const (
DEV_URL = "https://openapi-sandbox.dewu.com"
Online_URL = "https://openapi.dewu.com"
)
func GetUrl(env string) string {
if env == "online" {
return Online_URL
}
return DEV_URL
}