xingzai 1 an în urmă
părinte
comite
2fefba7328
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      controllers/yanxuan_special.go

+ 1 - 0
controllers/yanxuan_special.go

@@ -230,6 +230,7 @@ func (this *YanxuanSpecialController) Detail() {
 		return
 	}
 	if item.UserId != sysUser.UserId && item.Status != 3 && !strings.Contains(cnf.ConfigValue, sysUser.Mobile) {
+		resp.CygxYanxuanSpecialItem = *new(models.CygxYanxuanSpecialItem) // 如果内容不可见,就把内容置空
 		resp.HasPermission = 2
 	}