longyu %!s(int64=2) %!d(string=hai) anos
pai
achega
3cb992d17d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/base_from_smm.go

+ 1 - 1
controllers/base_from_smm.go

@@ -82,7 +82,7 @@ func (this *SmmController) Refresh() {
 		br.ErrMsg = "请输入指标编码,指标编码为空"
 		return
 	}
-	if req.EdbInfoId <= 0 {
+	if req.EdbInfoId < 0 {
 		br.Msg = "请输入指标ID!"
 		br.ErrMsg = "请输入指标ID"
 		return