37 lines
999 B
C#
37 lines
999 B
C#
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();
|
||
}
|