Auto-Accounting / AutoResource

自动记账资源提交平台,由GitBot自动化管理。
https://auto.ankio.net/
16 stars 10 forks source link

【微信】公众号_广发预授权交易_支出@Ver.1 #338

Closed onlyLTY closed 2 years ago

onlyLTY commented 2 years ago

Update Log/更新日志

Data/数据

{"data":[{"app":"com.tencent.mm","dataId":"QlPcz3ouJApWC0DblKXudJdfJBklpqWZ","identify":"app","data":"{\"account_name1\":\"广发$1\",\"shopRemark\":\"\",\"account_name2\":\"\",\"auto\":\"0\",\"regular_app\":\"com.tencent.mm\",\"identify\":\"app\",\"regex_input\":\"title:交易提醒.*尊敬的客户nn您尾号为(\\\\d{4})卡交易信息如下:n交易时间:(.*?)n交易类型:预授权完成n交易金额:人民币(\\\\d+(\\\\.\\\\d+)?)元n\",\"fee\":\"\",\"shopName\":\"预授权交易\",\"type\":\"0\",\"version\":1,\"dataId\":\"QlPcz3ouJApWC0DblKXudJdfJBklpqWZ\",\"money\":\"$3\",\"regular_name\":\"广发银行预授权交易\",\"str_input\":\"cache_user:吃喝玩乐,尽在美团,cache_user2:王勇老师,cache_paytools:零钱,isSend:0,title:卡片消息,content:msg:appmsg:extinfo:,lowurl:,sourcedisplayname:,showtype:1,title:交易提醒,type:5,appattach:totallen:0,cdnthumburl:,aeskey:,attachid:,fileext:,cdnthumbaeskey:,content: t,content:,url:https://n.95508.com/ng6KC31T5,soundtype:0,mmreader:template_detail:,publisher:nickname:广发银行,content: tt,username:CGB-China,template_header:,category:item:is_pay_subscribe:0,video_height:0,finder_live:,sources:source:name:广发银行,content: t,content: t,appmsg_like_type:0,video_width:0,recommendation:,title:交易提醒,native_url:,content: t,cover:,weapp_version:0,vid:,pic_num:0,digest:尊敬的客户nn您尾号为4393卡交易信息如下:n交易时间:09月09日20:15n交易类型:预授权完成n交易金额:人民币59.20元n周五会员日,最高可抽688元商城券,点击下方立即参与抽奖↓,cover_235_1:,weapp_username:,fileid:0,player:,cover_1_1:,summary:,del_flag:0,play_url:,shorturl:,pub_time:1662725719,pic_urls:,cover_16_9:,general_string:,template_op_type:0,weapp_path:,url:https://n.95508.com/ng6KC31T5,tweetid:,finder_feed:,play_length:0,comment_topic_id:0,music_source:0,longurl:,styles:topColor:#FF0000,style:[color:#000000,range:0,5,font:s,color:#000000,range:7,16,font:s,color:#000000,range:29,11,font:s,color:#000000,range:46,5,font:s,color:#0000FF,range:57,9,font:s,color:#0000FF,range:67,29,font:s],itemshowtype:4,contentattr:0,weapp_state:0,show_complaint_button:1,count:1,name:广发银行,topnew:cover:,width:0,digest:尊敬的客户nn您尾号为4393卡交易信息如下:n交易时间:09月09日20:15n交易类型:预授权完成n交易金额:人民币59.20元n周五会员日,最高可抽688元商城券,点击下方立即参与抽奖↓,content: ttt,height:0,type:0,content: tt,content: t,forbid_forward:0,notify_msg:,des:尊敬的客户nn您尾号为4393卡交易信息如下:n交易时间:09月09日20:15n交易类型:预授权完成n交易金额:人民币59.20元n周五会员日,最高可抽688元商城券,点击下方立即参与抽奖↓,appid:,sourceusername:,sdkver:0,action:,template_id:wvp1Q36l5GIDLu1k-EAZnxj559PoaAgrhDCIha2zCrM,thumburl:,contentattr:0,fromusername:gh_193ea82f5e4b,appinfo:appname:广发银行,version:0,isforceupdate:1,status:3,cache_money:¥2.50\",\"id\":\"\",\"time\":\"$2\",\"regular_remark\":\"需要关注广发银行微信公众号,仅匹配广发预授权交易\"}","use":1,"name":"广发银行预授权交易","remark":"需要关注广发银行微信公众号,仅匹配广发预授权交易","id":88,"sort":6,"version":"1","regular":"var d,e,f,g,h,i;try{if(pattern=/title:交易提醒.*尊敬的客户nn您尾号为(\\d{4})卡交易信息如下:n交易时间:(.*?)n交易类型:预授权完成n交易金额:人民币(\\d+(\\.\\d+)?)元n/,pattern.test(a)){for(d=pattern.exec(a),e=\"##广发$1##0##$3####预授权交易####$2##0\",f=e.split(\"##\"),g=\"\",h=0;h<f.length;h++)i=f[h],g+=-1!=i.indexOf(\"$+\")?b(d,i,\"$+\")+\"##\":-1!=i.indexOf(\"$-\")?b(d,i,\"$-\")+\"##\":-1!=i.indexOf(\"$|\")?b(d,i,\"$|\")+\"##\":i+\"##\";return g=g.slice(0,g.length-2),c(d,g)}}catch(j){}"}],"from":"app","id":"QlPcz3ouJApWC0DblKXudJdfJBklpqWZ","version":"1"}
AnkioBot commented 2 years ago

@onlyLTY,您的规则提交/更新成功!cdn有缓存,您可能要等待5分钟-24小时后才能看到您的规则数据。 本次测试结果:您的规则云端测试数据如下:

 时间:09月09日20:15(云端不解析时间,时间戳或者直接日期都行) 
 金额:59.20 
 手续费: 
 账户1:广发4393  
 账户2:  
 商户:预授权交易  
 商户备注:  

本次测试用例信息:

cache_user:吃喝玩乐,尽在美团,cache_user2:王勇老师,cache_paytools:零钱,isSend:0,title:卡片消息,content:msg:appmsg:extinfo:,lowurl:,sourcedisplayname:,showtype:1,title:交易提醒,type:5,appattach:totallen:0,cdnthumburl:,aeskey:,attachid:,fileext:,cdnthumbaeskey:,content: t,content:,url:https://n.95508.com/ng6KC31T5,soundtype:0,mmreader:template_detail:,publisher:nickname:广发银行,content: tt,username:CGB-China,template_header:,category:item:is_pay_subscribe:0,video_height:0,finder_live:,sources:source:name:广发银行,content: t,content: t,appmsg_like_type:0,video_width:0,recommendation:,title:交易提醒,native_url:,content: t,cover:,weapp_version:0,vid:,pic_num:0,digest:尊敬的客户nn您尾号为4393卡交易信息如下:n交易时间:09月09日20:15n交易类型:预授权完成n交易金额:人民币59.20元n周五会员日,最高可抽688元商城券,点击下方立即参与抽奖↓,cover_235_1:,weapp_username:,fileid:0,player:,cover_1_1:,summary:,del_flag:0,play_url:,shorturl:,pub_time:1662725719,pic_urls:,cover_16_9:,general_string:,template_op_type:0,weapp_path:,url:https://n.95508.com/ng6KC31T5,tweetid:,finder_feed:,play_length:0,comment_topic_id:0,music_source:0,longurl:,styles:topColor:#FF0000,style:[color:#000000,range:0,5,font:s,color:#000000,range:7,16,font:s,color:#000000,range:29,11,font:s,color:#000000,range:46,5,font:s,color:#0000FF,range:57,9,font:s,color:#0000FF,range:67,29,font:s],itemshowtype:4,contentattr:0,weapp_state:0,show_complaint_button:1,count:1,name:广发银行,topnew:cover:,width:0,digest:尊敬的客户nn您尾号为4393卡交易信息如下:n交易时间:09月09日20:15n交易类型:预授权完成n交易金额:人民币59.20元n周五会员日,最高可抽688元商城券,点击下方立即参与抽奖↓,content: ttt,height:0,type:0,content: tt,content: t,forbid_forward:0,notify_msg:,des:尊敬的客户nn您尾号为4393卡交易信息如下:n交易时间:09月09日20:15n交易类型:预授权完成n交易金额:人民币59.20元n周五会员日,最高可抽688元商城券,点击下方立即参与抽奖↓,appid:,sourceusername:,sdkver:0,action:,template_id:wvp1Q36l5GIDLu1k-EAZnxj559PoaAgrhDCIha2zCrM,thumburl:,contentattr:0,fromusername:gh_193ea82f5e4b,appinfo:appname:广发银行,version:0,isforceupdate:1,status:3,cache_money:¥2.50 

如果您需要删除规则,请打上useless的标签,机器人将自动删除。