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.
81 lines
1.6 KiB
C#
81 lines
1.6 KiB
C#
using Myshipping.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Myshipping.Application
|
|
{
|
|
|
|
public class TaskAPIBase
|
|
{
|
|
/// <summary>
|
|
/// API名称
|
|
/// </summary>
|
|
public string APIName { get; set; }
|
|
/// <summary>
|
|
/// 请求地址
|
|
/// </summary>
|
|
public string URL { get; set; }
|
|
/// <summary>
|
|
/// 请求方式
|
|
/// </summary>
|
|
public string RequestMethod { get; set; }
|
|
/// <summary>
|
|
/// 请求key
|
|
/// </summary>
|
|
public string Key { get; set; }
|
|
/// <summary>
|
|
/// 请求密钥
|
|
/// </summary>
|
|
public string SecretKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// 平台代码
|
|
/// </summary>
|
|
public string SYSTEM_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 平台名称
|
|
/// </summary>
|
|
public string SYSTEM_NAME { get; set; }
|
|
}
|
|
|
|
public class TaskAPIInput:PageInputBase
|
|
{
|
|
|
|
}
|
|
|
|
|
|
public class AddTaskAPIInput : TaskAPIBase
|
|
{
|
|
|
|
}
|
|
|
|
public class DeleteTaskAPIInput
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string PK_ID { get; set; }
|
|
}
|
|
|
|
public class UpdateTaskAPIInput: TaskAPIBase
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string PK_ID { get; set; }
|
|
}
|
|
|
|
public class GetTaskApiInfoInput
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
public string PK_ID { get; set; }
|
|
}
|
|
|
|
}
|