Sfoglia il codice sorgente

Merge branch 'cygx_14.0' of http://8.136.199.33:3000/hongze/hongze_clpt into debug

zhangchuanxing 4 mesi fa
parent
commit
0adad43e81
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      controllers/report.go

+ 3 - 3
controllers/report.go

@@ -704,7 +704,7 @@ func (this *ReportController) IndustrialFllow() {
 		br.ErrMsg = "操作失败,Err:" + err.Error()
 		return
 	}
-	resp.Status = 1
+	resp.Status = followType
 	br.Msg = "操作成功"
 	//} else {
 	//	err = models.RemoveCygxIndustryFllow(uid, industrialManagementId)
@@ -806,7 +806,7 @@ func (this *ReportController) CategoryFllow() {
 		br.ErrMsg = "操作失败,Err:" + err.Error()
 		return
 	}
-	resp.Status = 1
+	resp.Status = followType
 	br.Msg = "操作成功"
 	//} else {
 	//err = models.RemoveCygxCategoryFllow(user.Mobile, mapReport[categoryId])
@@ -2490,7 +2490,7 @@ func (this *ReportController) CategoryZhouqiFllow() {
 		br.ErrMsg = "操作失败,Err:" + err.Error()
 		return
 	}
-	resp.Status = 1
+	resp.Status = followType
 	br.Msg = "操作成功"
 	//} else {
 	//	err = models.RemoveCygxCategoryFllowZhouqi(user.Mobile, categoryId)