Browse Source

no message

xingzai 1 năm trước cách đây
mục cha
commit
2fefba7328
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      controllers/yanxuan_special.go

+ 1 - 0
controllers/yanxuan_special.go

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