Просмотр исходного кода

粮油商务网-来源常量修改

gmy 6 месяцев назад
Родитель
Сommit
737191c56e
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      controllers/data_manage/base_from_ly_index_controller.go

+ 2 - 3
controllers/data_manage/base_from_ly_index_controller.go

@@ -24,9 +24,8 @@ type BaseFromLyIndexController struct {
 	controllers.BaseAuthController
 }
 
-const (
-	codeMax    = 30 // 指标编码最大数量
-	dataSource = "粮油商务网"
+var (
+	codeMax = 30 // 指标编码最大数量
 )
 
 // LyIndexList