You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
257 B
13 lines
257 B
4 months ago
|
package service
|
||
|
|
||
|
import (
|
||
|
"service-api/global"
|
||
|
"service-api/model"
|
||
|
)
|
||
|
|
||
|
func GetQiniuZoneDomain(zone string) string {
|
||
|
var domain string
|
||
|
_ = global.MG_DB.Model(&model.QiniuZone{}).Select("domain").Where("zone=?", zone).Scan(&domain).Error
|
||
|
return domain
|
||
|
}
|