Browse Source

no message

zhangchuanxing 6 months ago
parent
commit
e5d22c82c6
2 changed files with 2 additions and 4 deletions
  1. 0 2
      controllers/report.go
  2. 2 2
      services/industrial_management.go

+ 0 - 2
controllers/report.go

@@ -140,8 +140,6 @@ func (this *ReportController) IndustryList() {
 		return
 	}
 	uid := user.UserId
-
-	fmt.Println(uid)
 	ChartPermissionId, _ := this.GetInt("ChartPermissionId")
 	orderColumn := this.GetString("OrderColumn")
 	orderColumnNew := this.GetString("OrderColumn")

+ 2 - 2
services/industrial_management.go

@@ -869,10 +869,10 @@ func GetCygxIndustryFllowListTypeMapByMobile(mobile string) (mapFollowTypeResp m
 	}()
 
 	mapFollowTypeResp = make(map[int]int, 0)
-	fllowList, e := models.GetCygxIndustryFllowList(mobile)
+	fllowList, e := models.GetCygxIndustryFllowListByMobile(mobile)
 	//策略的处理
 	if e != nil {
-		err = errors.New("GetUserFllowIndustrialList, Err: " + err.Error())
+		err = errors.New("GetUserFllowIndustrialList, Err: " + e.Error())
 		return
 	}
 	for _, v := range fllowList {