cylsg/EzJob/StartUpcs.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
cylsg/cylsg.Application/Transfer/UserTransfer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
cylsg/cylsg.Web.Entry/.config/dotnet-tools.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
cylsg/cylsg.Web.Entry/Properties/PublishProfiles/FolderProfile.pubxml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
cylsg/cylsg.Web.Entry/Properties/PublishProfiles/FolderProfile.pubxml.user | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
cylsg/cylsg.Web.Entry/cylsg.Web.Entry.csproj.user | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
cylsg/EzJob/StartUpcs.cs
@@ -18,7 +18,7 @@ services.AddSchedule(options => { options.AddJob<WeChatJob>(concurrent: false, Triggers.PeriodMinutes(1)); // 串行Triggers.PeriodMinutes(1) options.AddJob<WeChatJob>(concurrent: false, Triggers.PeriodMinutes(5)); // 串行Triggers.PeriodMinutes(1) options.AddJob<ClearWorkOnDay>(concurrent: false, Triggers.DailyAt(0)); }); } cylsg/cylsg.Application/Transfer/UserTransfer.cs
@@ -105,7 +105,7 @@ var UserTiXianDetailwork = new BaseRepository<UserTiXianDetail>(); var WeChatTransferOrderwork = new BaseRepository<WeChatTransferOrder>(); if ((uw != null) && ((uw.TiXianZonge - uw.YiTiXianJine) >= Money)) if ((uw != null) && (((uw.TiXianZonge??0) - (uw.YiTiXianJine??0)) >= Money)) { //满足条件,发起支付 var TransferOrder = new WeChatTransferOrder @@ -185,10 +185,11 @@ ZhiChuShouRu = 0, YiTiXianJine = Money, WeChatTransferOrderID = TransferOrder.Id, Remark = "用户提现" }); //钱包余额调整 uw.YiTiXianJine += Money; uw.YiTiXianJine = (uw.YiTiXianJine??0)+ Money; uw.UpDataBy = uw.UserId.ToString(); uw.UpDataTime = DateTime.Now; await rs.UpdateAsync(uw); @@ -212,6 +213,10 @@ } else { throw Oops.Oh("系统错误"); } } catch (Exception) cylsg/cylsg.Web.Entry/.config/dotnet-tools.json
New file @@ -0,0 +1,12 @@ { "version": 1, "isRoot": true, "tools": { "dotnet-ef": { "version": "8.0.8", "commands": [ "dotnet-ef" ] } } } cylsg/cylsg.Web.Entry/Properties/PublishProfiles/FolderProfile.pubxml
New file @@ -0,0 +1,21 @@ <?xml version="1.0" encoding="utf-8"?> <!-- https://go.microsoft.com/fwlink/?LinkID=208121. --> <Project> <PropertyGroup> <DeleteExistingFiles>true</DeleteExistingFiles> <ExcludeApp_Data>false</ExcludeApp_Data> <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish> <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> <LastUsedPlatform>Any CPU</LastUsedPlatform> <PublishProvider>FileSystem</PublishProvider> <PublishUrl>bin\Release\net8.0\publish\</PublishUrl> <WebPublishMethod>FileSystem</WebPublishMethod> <_TargetId>Folder</_TargetId> <SiteUrlToLaunchAfterPublish /> <TargetFramework>net8.0</TargetFramework> <ProjectGuid>9826e365-eee9-4721-a738-b02ab64d47e5</ProjectGuid> <SelfContained>false</SelfContained> </PropertyGroup> </Project> cylsg/cylsg.Web.Entry/Properties/PublishProfiles/FolderProfile.pubxml.user
New file @@ -0,0 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <!-- https://go.microsoft.com/fwlink/?LinkID=208121. --> <Project> <PropertyGroup> <_PublishTargetUrl>D:\workdir\川印临时工\cylsg\cylsg.Web.Entry\bin\Release\net8.0\publish\</_PublishTargetUrl> <History>True|2024-09-25T07:01:06.5999086Z;True|2024-09-25T14:59:41.7822144+08:00;True|2024-09-25T14:29:50.2870562+08:00;True|2024-09-25T14:23:43.9625627+08:00;True|2024-09-25T14:20:00.9806024+08:00;True|2024-09-25T14:06:51.1188532+08:00;</History> <LastFailureDetails /> </PropertyGroup> </Project> cylsg/cylsg.Web.Entry/cylsg.Web.Entry.csproj.user
@@ -5,5 +5,6 @@ </PropertyGroup> <PropertyGroup> <ActiveDebugProfile>cylsg.Web.Entry</ActiveDebugProfile> <NameOfLastUsedPublishProfile>D:\workdir\川印临时工\cylsg\cylsg.Web.Entry\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> </PropertyGroup> </Project>