Auto-Accounting / AutoResource

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

【微信】公众号_京东白条_支出@Ver.8 #339

Closed onlyLTY closed 1 year ago

onlyLTY commented 1 year ago

Update Log/更新日志

Data/数据

{"data":[{"app":"com.tencent.mm","dataId":"Te6XBqbK8V78xkWOEbXATRzfgRv7mXKe","identify":"app","data":"{\"account_name1\":\"京东白条\",\"shopRemark\":\"订单号:$1\",\"account_name2\":\"\",\"auto\":\"0\",\"regular_app\":\"com.tencent.mm\",\"identify\":\"app\",\"regex_input\":\"title:交易提醒.*京东平台商户,.*服务商户:,value:color:.*word:不分期,key:color:.*word:交易类型:,value:color:.*word:(\\\\d{12}),key:color:.*word:交易订单:,value:color:.*word:(.*?),key:color:.*word:交易时间:,value:color:.*,word:(\\\\d+(\\\\.\\\\d+)?)元(\\\\(已优惠(\\\\d+(\\\\.\\\\d+)?)元\\\\))?,key:color.*word:消费金额\",\"fee\":\"\",\"shopName\":\"京东平台商户\",\"type\":\"0\",\"version\":8,\"dataId\":\"Te6XBqbK8V78xkWOEbXATRzfgRv7mXKe\",\"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:3.cn/1zAoS-17,soundtype:0,mmreader:template_detail:template_show_type:1,text_content:cover:,color:,text:,new_tmpl_type:0,line_content:lines:line:[value:color:#000000,word:京东平台商户,key:color:#888888,word:服务商户:,value:color:#000000,word:不分期,key:color:#888888,word:交易类型:,value:color:#000000,word:250559076437,key:color:#888888,word:交易订单:,value:color:#000000,word:09月16日 13:39:48,key:color:#888888,word:交易时间:,value:color:#0066FF,word:96.40元(已优惠1.50元),key:color:#888888,word:消费金额:,value:color:#F90707,word:n你有一笔公益物资待认领,3日有效,快来领取吧>>,key:color:#888888,word:备注:],opitems:opitem:thumbnail:,color:#000000,icon:,general_string:,weapp_path:,display_line_number:0,url:3.cn/1zAoS-17,weapp_version:0,is_show_play_btn:0,ext_id:,is_show_red_dot:0,dmicon:,hint_word:,weapp_username:,op_type:0,is_rich_text:0,word:查看详情,business_id:,weapp_state:0,show_type:0,publisher:nickname:京东白条,content: tt,username:JDbaitiao,template_header:first_color:,title_color:,pub_time:1663306798,first_data:打白条,月月轻松!n,title:交易提醒,show_complaint_button:1,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服务商户:京东平台商户n交易类型:不分期n交易订单:250559076437n交易时间:09月16日 13:39:48n消费金额:96.40元(已优惠1.50元)nn你有一笔公益物资待认领,3日有效,快来领取吧>>,cover_235_1:,weapp_username:,fileid:0,player:,cover_1_1:,summary:,del_flag:0,play_url:,shorturl:,pub_time:1663306798,pic_urls:,cover_16_9:,general_string:,template_op_type:0,weapp_path:,url:3.cn/1zAoS-17,tweetid:,finder_feed:,play_length:0,comment_topic_id:0,music_source:0,longurl:,styles:topColor:#000000,style:[color:#000000,range:0,10,font:s,color:#000000,range:16,6,font:s,color:#000000,range:28,3,font:s,color:#000000,range:37,12,font:s,color:#000000,range:55,15,font:s,color:#0066FF,range:76,16,font:s,color:#F90707,range:93,25,font:s],itemshowtype:4,contentattr:0,weapp_state:0,show_complaint_button:1,count:1,name:京东白条,topnew:cover:,width:0,digest:打白条,月月轻松!nn服务商户:京东平台商户n交易类型:不分期n交易订单:250559076437n交易时间:09月16日 13:39:48n消费金额:96.40元(已优惠1.50元)nn你有一笔公益物资待认领,3日有效,快来领取吧>>,content: ttt,height:0,type:0,content: tt,content: t,forbid_forward:0,notify_msg:,des:打白条,月月轻松!nn服务商户:京东平台商户n交易类型:不分期n交易订单:250559076437n交易时间:09月16日 13:39:48n消费金额:96.40元(已优惠1.50元)nn你有一笔公益物资待认领,3日有效,快来领取吧>>,appid:,sourceusername:,sdkver:0,action:,template_id:J5dM_MqAc46f6_sb099qW8yUtVuBAY5LFgixxAYAHSY,thumburl:,contentattr:0,fromusername:gh_d7274b80465f,appinfo:appname:京东白条,version:0,isforceupdate:1,status:3,cache_money:¥0.04\",\"id\":\"90\",\"time\":\"$2\",\"regular_remark\":\"需要关注公众号京东白条\"}","use":1,"name":"公众号_京东白条_支出","remark":"需要关注公众号京东白条","id":90,"sort":6,"version":"8","regular":"var d,e,f,g,h,i;try{if(pattern=/title:交易提醒.*京东平台商户,.*服务商户:,value:color:.*word:不分期,key:color:.*word:交易类型:,value:color:.*word:(\\d{12}),key:color:.*word:交易订单:,value:color:.*word:(.*?),key:color:.*word:交易时间:,value:color:.*,word:(\\d+(\\.\\d+)?)元(\\(已优惠(\\d+(\\.\\d+)?)元\\))?,key:color.*word:消费金额/,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":"Te6XBqbK8V78xkWOEbXATRzfgRv7mXKe","version":"8"}
AnkioBot commented 1 year ago

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

 时间:09月16日 13:39:48(云端不解析时间,时间戳或者直接日期都行) 
 金额:96.40 
 手续费: 
 账户1:京东白条  
 账户2:  
 商户:京东平台商户  
 商户备注:订单号:250559076437  

本次测试用例信息:

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:3.cn/1zAoS-17,soundtype:0,mmreader:template_detail:template_show_type:1,text_content:cover:,color:,text:,new_tmpl_type:0,line_content:lines:line:[value:color:#000000,word:京东平台商户,key:color:#888888,word:服务商户:,value:color:#000000,word:不分期,key:color:#888888,word:交易类型:,value:color:#000000,word:250559076437,key:color:#888888,word:交易订单:,value:color:#000000,word:09月16日 13:39:48,key:color:#888888,word:交易时间:,value:color:#0066FF,word:96.40元(已优惠1.50元),key:color:#888888,word:消费金额:,value:color:#F90707,word:n你有一笔公益物资待认领,3日有效,快来领取吧>>,key:color:#888888,word:备注:],opitems:opitem:thumbnail:,color:#000000,icon:,general_string:,weapp_path:,display_line_number:0,url:3.cn/1zAoS-17,weapp_version:0,is_show_play_btn:0,ext_id:,is_show_red_dot:0,dmicon:,hint_word:,weapp_username:,op_type:0,is_rich_text:0,word:查看详情,business_id:,weapp_state:0,show_type:0,publisher:nickname:京东白条,content: tt,username:JDbaitiao,template_header:first_color:,title_color:,pub_time:1663306798,first_data:打白条,月月轻松!n,title:交易提醒,show_complaint_button:1,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服务商户:京东平台商户n交易类型:不分期n交易订单:250559076437n交易时间:09月16日 13:39:48n消费金额:96.40元(已优惠1.50元)nn你有一笔公益物资待认领,3日有效,快来领取吧>>,cover_235_1:,weapp_username:,fileid:0,player:,cover_1_1:,summary:,del_flag:0,play_url:,shorturl:,pub_time:1663306798,pic_urls:,cover_16_9:,general_string:,template_op_type:0,weapp_path:,url:3.cn/1zAoS-17,tweetid:,finder_feed:,play_length:0,comment_topic_id:0,music_source:0,longurl:,styles:topColor:#000000,style:[color:#000000,range:0,10,font:s,color:#000000,range:16,6,font:s,color:#000000,range:28,3,font:s,color:#000000,range:37,12,font:s,color:#000000,range:55,15,font:s,color:#0066FF,range:76,16,font:s,color:#F90707,range:93,25,font:s],itemshowtype:4,contentattr:0,weapp_state:0,show_complaint_button:1,count:1,name:京东白条,topnew:cover:,width:0,digest:打白条,月月轻松!nn服务商户:京东平台商户n交易类型:不分期n交易订单:250559076437n交易时间:09月16日 13:39:48n消费金额:96.40元(已优惠1.50元)nn你有一笔公益物资待认领,3日有效,快来领取吧>>,content: ttt,height:0,type:0,content: tt,content: t,forbid_forward:0,notify_msg:,des:打白条,月月轻松!nn服务商户:京东平台商户n交易类型:不分期n交易订单:250559076437n交易时间:09月16日 13:39:48n消费金额:96.40元(已优惠1.50元)nn你有一笔公益物资待认领,3日有效,快来领取吧>>,appid:,sourceusername:,sdkver:0,action:,template_id:J5dM_MqAc46f6_sb099qW8yUtVuBAY5LFgixxAYAHSY,thumburl:,contentattr:0,fromusername:gh_d7274b80465f,appinfo:appname:京东白条,version:0,isforceupdate:1,status:3,cache_money:¥0.04 

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