فهرست منبع

账号状态到期前预先提醒

dodo hold 2 سال پیش
والد
کامیت
5f2a422adb

+ 2 - 2
molilian.api/Controllers/public/similarController.cs → molilian.api/Controllers/public/RootController.cs

@@ -16,11 +16,11 @@ namespace molilian.api.Controllers
 {
     [ApiController]
     [Route("api/[action]")]
-    public class SimilarController : ControllerBase
+    public class RootController : ControllerBase
     {
 
         protected IHttpContextAccessor _accessor;
-        public SimilarController(IHttpContextAccessor accessor)
+        public RootController(IHttpContextAccessor accessor)
         {
             _accessor = accessor;
         }

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
molilian.api/Properties/PublishProfiles/https___ccr.ccs.tencentyun.com_shaobin.pubxml.user


+ 2 - 0
molilian.core/Core/taoke/TkPoolCore.cs

@@ -194,6 +194,7 @@ namespace molilian.core
                    .Add("user_agent", user_agent)
                    .Add("status", status)
                    .Add("last_time", DateTime.Now)
+                   .Add("login_time", DateTime.Now)
                    .Where("id=@id", new { exist.id })
                    .Update();
                 if (status == 1) _ = List(true);
@@ -209,6 +210,7 @@ namespace molilian.core
                     .Add("user_agent", user_agent)
                     .Add("create_time", DateTime.Now)
                     .Add("last_time", DateTime.Now)
+                    .Add("login_time", DateTime.Now)
                     .Add("status", 0)
                     .Create();
             }

+ 4 - 3
molilian.core/DTO/alimama/TkPoolDTO.cs

@@ -12,8 +12,9 @@
         public string refpid { get; set; } = string.Empty;
         public string cookies { get; set; } = string.Empty;
         public string user_agent { get; set; } = string.Empty;
-        public DateTime create_time { get; set; }
-        public DateTime last_time { get; set; }
+        public DateTime create_time { get; set; } = DateTime.Now;
+        public DateTime last_time { get; set; } = DateTime.Now;
+        public DateTime login_time { get; set; } = DateTime.Now;
         public bool status { get; set; }
         public string nodeName { get; set; } = string.Empty;
         public decimal current_amt { get; set; } = 0;
@@ -27,7 +28,7 @@
         public bool enable_coupon { get; set; } = false;
         public bool enable_sync_order { get; set; } = false;
         public bool enable_promotionQuery { get; set; } = false;
-        
+
 
         public string appkey { get; set; } = string.Empty;
         public string appSecret { get; set; } = string.Empty;

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است