You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.System.Dtos;
namespace DS.WMS.Core.System.Interface;
public interface ILanguageSetService
{
/// <summary>
/// 列表查询
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<LanguageSetRes>> GetListByPage(PageRequest request);
/// <summary>
/// 添加编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditLanguageSet(LanguageSetReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<LanguageSetRes> GetLanguageSetInfo(string id);
/// <summary>
/// 获取多语言常量列表
/// </summary>
/// <returns></returns>
DataResult<List<MultiLanguageConstRes>> GetLanguageConstList();
/// <summary>
/// 获取当前租户已有的多语言信息
/// </summary>
/// <param name="languageType">语言类型</param>
/// <returns></returns>
DataResult<List<string>> GetExistLanguageConstList(string languageType);
/// <summary>
/// 导入多语言配置
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult ImportMultiLanguageSet(ImportLanguageSetReq model);
}