服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
8 天以前 36746596927952a6b860129a62eec9059bf083a7
Tiger.Business/Services/Base/TigerJobBase.cs
@@ -21,11 +21,11 @@
        /// <summary>
        /// 开始时间
        /// </summary>
        public static DateTime StartTime { get; set; }
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 保存日志
        /// </summary>
        public static ApiAction SaveLog(JobExecutingContext context, string remark)
        public ApiAction SaveLog(JobExecutingContext context, string remark)
        {
            ApiAction action = new ApiAction();
            Type type = Type.GetType(context.JobDetail.JobType, throwOnError: true);
@@ -121,7 +121,7 @@
        /// 判断时间,返回是否可以继续工作任务
        /// </summary>
        /// <returns></returns>
        public TskJobInput CheckIFCanGo()
        public TskJobInput CheckHowToDo()
        {
            TskJobInput tskJobInput = new TskJobInput();
            var dateTime = DateTime.Now;