Przeglądaj źródła

fix:删除正式用户的判断

zqbao 10 miesięcy temu
rodzic
commit
7e9aeccf5c
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      controllers/my_chart.go

+ 0 - 4
controllers/my_chart.go

@@ -316,10 +316,6 @@ func (this *MyChartController) IsCollect() {
 	}
 
 	user := this.User
-	if user.Status != 2 {
-		br.Msg = "用户没有权限收藏"
-		return
-	}
 	count, err := models.GetMyChartCount(user.UserId, req.UniqueCode)
 	if err != nil {
 		br.Msg = "查询收藏数量失败"