|
|
@ -17,7 +17,7 @@ using System.Threading.Tasks;
|
|
|
|
namespace Myshipping.Application.Service.EmailParserServerManage
|
|
|
|
namespace Myshipping.Application.Service.EmailParserServerManage
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 邮件解析配置
|
|
|
|
/// 邮件执行代码注入配置
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[ApiDescriptionSettings("Application", Name = "EmailExcuteCodeInjectConfigServices", Order = 9)]
|
|
|
|
[ApiDescriptionSettings("Application", Name = "EmailExcuteCodeInjectConfigServices", Order = 9)]
|
|
|
|
public class EmailExcuteCodeInjectConfigService : IEmailExcuteCodeInjectConfigService, IDynamicApiController, ITransient
|
|
|
|
public class EmailExcuteCodeInjectConfigService : IEmailExcuteCodeInjectConfigService, IDynamicApiController, ITransient
|
|
|
@ -39,6 +39,7 @@ namespace Myshipping.Application.Service.EmailParserServerManage
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="info">邮件执行代码注入配置信息</param>
|
|
|
|
/// <param name="info">邮件执行代码注入配置信息</param>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
|
|
|
[HttpPost("/EmailExcuteCodeInjectConfig/Save")]
|
|
|
|
public async Task<TaskManageOrderResultDto> Save(EmailExcuteCodeInjectConfigDto info)
|
|
|
|
public async Task<TaskManageOrderResultDto> Save(EmailExcuteCodeInjectConfigDto info)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
@ -131,6 +132,7 @@ namespace Myshipping.Application.Service.EmailParserServerManage
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="gid">邮件解析配置主键</param>
|
|
|
|
/// <param name="gid">邮件解析配置主键</param>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
|
|
|
[HttpGet("/EmailExcuteCodeInjectConfig/GetInfo")]
|
|
|
|
public async Task<TaskManageOrderResultDto> GetInfo(string gid)
|
|
|
|
public async Task<TaskManageOrderResultDto> GetInfo(string gid)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
@ -169,7 +171,8 @@ namespace Myshipping.Application.Service.EmailParserServerManage
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="gIds">邮件执行代码注入配置主键数组</param>
|
|
|
|
/// <param name="gIds">邮件执行代码注入配置主键数组</param>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
public async Task<TaskManageOrderResultDto> Delete(string[] gIds)
|
|
|
|
[HttpPost("/EmailExcuteCodeInjectConfig/Delete")]
|
|
|
|
|
|
|
|
public async Task<TaskManageOrderResultDto> Delete([FromBody] string[] gIds)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
TaskManageOrderResultDto result = new TaskManageOrderResultDto();
|
|
|
|
|
|
|
|
|
|
|
@ -220,6 +223,7 @@ namespace Myshipping.Application.Service.EmailParserServerManage
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="QuerySearch">邮件执行代码注入配置查询请求</param>
|
|
|
|
/// <param name="QuerySearch">邮件执行代码注入配置查询请求</param>
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
|
|
|
[HttpPost("/EmailExcuteCodeInjectConfig/GetPage")]
|
|
|
|
public async Task<SqlSugarPagedList<EmailExcuteCodeInjectConfigPageDto>> GetPageAsync(QueryEmailExcuteCodeInjectConfigDto QuerySearch)
|
|
|
|
public async Task<SqlSugarPagedList<EmailExcuteCodeInjectConfigPageDto>> GetPageAsync(QueryEmailExcuteCodeInjectConfigDto QuerySearch)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var query = _emailExcuteCodeInjectConfigInfoRepository.AsQueryable();
|
|
|
|
var query = _emailExcuteCodeInjectConfigInfoRepository.AsQueryable();
|
|
|
|