| | |
| | | <PropertyGroup> |
| | | <Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID> |
| | | <Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath> |
| | | <NameOfLastUsedPublishProfile>E:\OPProject\operateApi\Api.Operater\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>E:\OPProject\ç信项ç®\api\Api.Operater\Properties\PublishProfiles\FolderProfile2.pubxml</NameOfLastUsedPublishProfile> |
| | | </PropertyGroup> |
| | | </Project> |
| | |
| | | new WxpayTradeDAL().Update(preTrade, null, null); |
| | | //å
å¼å¤ç |
| | | PayUserInfo(notify, preTrade); |
| | | //åéæé |
| | | try |
| | | { |
| | | string warStr = "å
弿é\n>ç±»åï¼çä¿¡å
å¼\n>çä¿¡æ°éï¼" + preTrade.SmsCount + "\n>å
å¼éé¢ï¼" + Math.Round((decimal)preTrade.Amount / 100, 2); |
| | | SendQwGroup.SendMessage(warStr); |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | |
| | | return WeChatPayNotifyResult.Success; |
| | | } |
| | | return WeChatPayNotifyResult.Failure; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | https://go.microsoft.com/fwlink/?LinkID=208121. |
| | | --> |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <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\netcoreapp3.1\publish\</PublishUrl> |
| | | <WebPublishMethod>FileSystem</WebPublishMethod> |
| | | <SiteUrlToLaunchAfterPublish /> |
| | | <TargetFramework>netcoreapp3.1</TargetFramework> |
| | | <ProjectGuid>9c5e2acc-af32-4e82-bc9b-583db5826a90</ProjectGuid> |
| | | <SelfContained>false</SelfContained> |
| | | </PropertyGroup> |
| | | </Project> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | https://go.microsoft.com/fwlink/?LinkID=208121. |
| | | --> |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <_PublishTargetUrl>E:\OPProject\ç信项ç®\api\Api.Operater\bin\Release\netcoreapp3.1\publish\</_PublishTargetUrl> |
| | | <History>True|2023-10-20T06:26:34.7297111Z;</History> |
| | | </PropertyGroup> |
| | | </Project> |
| | |
| | | // ç®åä»
è°ç¨"ä¼ä¸ä»æ¬¾å°é¶è¡å¡API [V2]"æ¶ä½¿ç¨ï¼æ§è¡æ¬ç¤ºä¾ä¸ç"è·åRSAå å¯å
¬é¥API [V2]"å³å¯è·åã |
| | | "RsaPublicKey": "" |
| | | }, |
| | | //ä¼å¾®webhook |
| | | "qw_webhook": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1e5a8b47-b108-40a6-9a29-d629863bd066", |
| | | "DbConnection": [ |
| | | { |
| | | ////æµè¯ |
| | |
| | | { |
| | | try |
| | | { |
| | | string webhook = ConfigUtil.GetValue<string>("qw_webhook"); |
| | | if(webhook.IsNullOrEmpty()) |
| | | { |
| | | return; |
| | | } |
| | | string body = "{\"msgtype\": \"markdown\",\"markdown\":{\"content\":\"" + message + "\"}}"; |
| | | string res = new WebUtil().DoPostWithJson("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1e5a8b47-b108-40a6-9a29-d629863bd066", body, null); |
| | | string res = new WebUtil().DoPostWithJson(webhook, body, null); |
| | | |
| | | body = "{\"msgtype\": \"text\",\"text\":{\"content\":\"æ¨ææ°çæ¶æ¯éè¦å¤ç\",\"mentioned_mobile_list\":[\"13382447768\",\"15862977578\",\"17315773080\"]}}"; |
| | | res = new WebUtil().DoPostWithJson("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1e5a8b47-b108-40a6-9a29-d629863bd066", body, null); |
| | | res = new WebUtil().DoPostWithJson(webhook, body, null); |
| | | } |
| | | catch |
| | | { |
| | |
| | | } |
| | | }, |
| | | "AllowedHosts": "*", |
| | | //ä¼å¾®webhook |
| | | "qw_webhook": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=1e5a8b47-b108-40a6-9a29-d629863bd066", |
| | | //çä¿¡ç³»ç»é¢è¦ æ¯é5åé触å䏿¬¡ |
| | | "job_smswarning": "0 0/5 * * * ?", |
| | | "DbConnection": [ |