暂时注释集群经纬度信息

Signed-off-by: jagger <cossjie@foxmail.com>
This commit is contained in:
jagger 2024-10-17 21:35:53 +08:00
parent 5789f5190b
commit 59c34f1455
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ func (l *CreateClusterLogic) CreateCluster(req *types.ClusterCreateReq) (resp *t
cluster.CreateTime = time.Now().Format("2006-01-02 15:04:05")
cluster.OwnerId = "0"
// 获取集群经纬度
location, err := GeoMap(req.RegionName)
cluster.Location = location
//location, err := GeoMap(req.RegionName)
//cluster.Location = location
cluster.Id = tool.GenSnowflakeIDStr()
tx := l.svcCtx.DbEngin.Table("t_cluster").Create(&cluster)