Browse Source

no message

zhangchuanxing 4 months ago
parent
commit
d01d0397ef
1 changed files with 3 additions and 3 deletions
  1. 3 3
      controllers/report.go

+ 3 - 3
controllers/report.go

@@ -689,7 +689,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)
@@ -791,7 +791,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])
@@ -2475,7 +2475,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)