xingzai hai 1 ano
pai
achega
2fefba7328
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
 	}