Auto-Accounting / AutoResource

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

工商银行储蓄卡收入规则 #426

Closed yyykf closed 1 year ago

yyykf commented 1 year ago

Update Log/更新日志

Data/数据

{"data":[{"app":"95588","dataId":"o48ut5lYPxJ6VwyqEQCIe9NKbu4L52ZV","identify":"sms","data":"{\"account_name1\":\"$1\",\"shopRemark\":\"$3\",\"account_name2\":\"\",\"auto\":\"0\",\"regular_app\":\"95588\",\"identify\":\"sms\",\"regex_input\":\"您尾号(\\\\d{4})卡(.*)工商银行收入\\\\((.*)\\\\)(.*)元,余额(.*)元,对方户名:(.*),对方账户尾号:(\\\\d{4})。【工商银行】\",\"fee\":\"\",\"shopName\":\"$6\",\"type\":\"1\",\"version\":5,\"dataId\":\"o48ut5lYPxJ6VwyqEQCIe9NKbu4L52ZV\",\"money\":\"$4\",\"regular_name\":\"【工商银行储蓄卡】收入\",\"str_input\":\"您尾号6666卡8月4日14:17工商银行收入(他行汇入)150,680.41元,余额200,883.75元,对方户名:测试有限公司,对方账户尾号:1001。【工商银行】\",\"id\":\"83\",\"time\":\"$2\",\"regular_remark\":\"作者: Code4j\"}","use":1,"name":"【工商银行储蓄卡】收入","remark":"作者: Code4j","id":83,"sort":2,"version":"5","regular":"var d,e,f,g,h,i;try{if(pattern=/您尾号(\\d{4})卡(.*)工商银行收入\\((.*)\\)(.*)元,余额(.*)元,对方户名:(.*),对方账户尾号:(\\d{4})。【工商银行】/,pattern.test(a)){for(d=pattern.exec(a),e=\"$3##$1##1##$4####$6####$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":"sms","id":"o48ut5lYPxJ6VwyqEQCIe9NKbu4L52ZV","version":"5"}