mi-assessment/server/MiAssessment/src/MiAssessment.Core/Interfaces/ISystemService.cs
2026-02-09 14:45:06 +08:00

37 lines
999 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using MiAssessment.Model.Models.System;
namespace MiAssessment.Core.Interfaces;
/// <summary>
/// 系统服务接口
/// </summary>
public interface ISystemService
{
/// <summary>
/// 获取用户协议
/// </summary>
/// <remarks>
/// 从配置表读取用户协议内容config_key: user_agreement
/// </remarks>
/// <returns>用户协议数据</returns>
Task<AgreementDto> GetAgreementAsync();
/// <summary>
/// 获取隐私政策
/// </summary>
/// <remarks>
/// 从配置表读取隐私政策内容config_key: privacy_policy
/// </remarks>
/// <returns>隐私政策数据</returns>
Task<PrivacyDto> GetPrivacyAsync();
/// <summary>
/// 获取关于我们
/// </summary>
/// <remarks>
/// 从配置表读取关于我们内容config_key: about_us和版本号config_key: app_version
/// </remarks>
/// <returns>关于我们数据</returns>
Task<AboutDto> GetAboutAsync();
}