tangjiang il y a 10 mois
Parent
commit
c2b638037b

+ 5 - 0
src/Push.Share/Dtos/PushMessageDto.cs

@@ -63,5 +63,10 @@ namespace Push.Share.Dtos
         /// 发送短信使用的数量
         /// </summary>
         public int? MsgCount { get; set; }
+
+        /// <summary>
+        /// 发送失败原因等
+        /// </summary>
+        public string? Reason { get; set; }
     }
 }

+ 1 - 1
src/Push.Share/Push.Share.csproj

@@ -11,7 +11,7 @@
     </PropertyGroup>
 
     <ItemGroup>
-      <PackageReference Include="XF.Utility.EnumExtensions" Version="1.0.4" />
+      <PackageReference Include="XF.Utility.EnumExtensions" Version="1.0.5" />
       <PackageReference Include="XF.Utility.MQ" Version="1.0.9" />
     </ItemGroup>
 

+ 1 - 1
src/yibin/Push.YiBin.Host/config/appsettings.Development.json

@@ -21,7 +21,7 @@
   "Cache": {
     "Host": "110.188.24.182",
     "Port": 50179,
-    //"Password": "fengwo22@@",
+    "Password": "fengwo123!$!$",
     "Database": 4
   },
   "Swagger": true,

+ 1 - 1
src/yibin/Push.YiBin.Host/config/appsettings.json

@@ -21,7 +21,7 @@
   "Cache": {
     "Host": "110.188.24.182",
     "Port": 50179,
-    //"Password": "fengwo22@@",
+    "Password": "fengwo123!$!$",
     "Database": 4
   },
   "Swagger": true,

+ 2 - 0
src/yibin/Push.YiBin/BaseRepository.cs

@@ -162,6 +162,8 @@ namespace Push.YiBin
         }
 
         public IUpdateable<TEntity> Updateable() => Db.Updateable<TEntity>();
+        public IUpdateable<TEntity> Updateable(TEntity entity) => Db.Updateable(entity);
+        public IUpdateable<TEntity> Updateable(List<TEntity> entities) => Db.Updateable(entities);
 
         public IDeleteable<TEntity> Removeable() => Db.Deleteable<TEntity>();
 

+ 2 - 2
src/yibin/Push.YiBin/Push.YiBin.csproj

@@ -10,8 +10,8 @@
         <PackageReference Include="Mapster" Version="7.3.0" />
         <PackageReference Include="MediatR" Version="12.0.1" />
         <PackageReference Include="System.Linq.Dynamic.Core" Version="1.3.7" />
-      <PackageReference Include="XF.Domain.Repository" Version="1.0.5" />
-      <PackageReference Include="XF.EasyCaching" Version="1.0.4" />
+      <PackageReference Include="XF.Domain.Repository" Version="1.0.6" />
+      <PackageReference Include="XF.EasyCaching" Version="1.0.6" />
     </ItemGroup>
 
     <ItemGroup>