Roc 1 year ago
parent
commit
8118ae76a4
1 changed files with 1 additions and 2 deletions
  1. 1 2
      controllers/edb_info.go

+ 1 - 2
controllers/edb_info.go

@@ -4,7 +4,6 @@ import (
 	"encoding/json"
 	"hongze/hongze_edb_lib/logic"
 	"hongze/hongze_edb_lib/models"
-	"hongze/hongze_edb_lib/services"
 	"hongze/hongze_edb_lib/utils"
 	"strconv"
 	"time"
@@ -96,7 +95,7 @@ func (this *EdbInfoController) Add() {
 	var windUrl string
 	if isAdd {
 		if req.Source == utils.DATA_SOURCE_WIND {
-			windUrl, err = services.GetWindUrl(req.EdbCode)
+			windUrl, err = GetServerUrl(req.EdbCode)
 			if err != nil {
 				br.Msg = "判断失败!"
 				br.ErrMsg = "判断失败,Err:" + err.Error()