Skip to content

【工商银行】储蓄卡_支出@Ver.1 #90

@dreamncn

Description

@dreamncn

Update Log/更新日志

Data/数据

{"data":[{"app":"95588","dataId":"dvMfg2xE9r2LJtWQXVirMdx3ONdakFEz","identify":"sms","data":"{\"account_name1\":\"工商银行储蓄卡($1)\",\"shopRemark\":\"$3\",\"account_name2\":\"\",\"auto\":\"0\",\"regular_app\":\"95588\",\"identify\":\"sms\",\"regex_input\":\"您尾号(\\\\d{4})卡(.*)工商银行支出\\\\((.*)\\\\)(.*)元,余额(.*)元。【工商银行】\",\"fee\":\"\",\"shopName\":\"工商银行储蓄卡\",\"type\":\"0\",\"version\":1,\"dataId\":\"dvMfg2xE9r2LJtWQXVirMdx3ONdakFEz\",\"money\":\"$4\",\"regular_name\":\"【工商银行储蓄卡】支出\",\"str_input\":\"您尾号8464卡10月10日10:14工商银行支出(银联消费)4,000元,余额43.01元。【工商银行】\",\"id\":\"\",\"time\":\"$2\",\"regular_remark\":\"编写:Ankio\"}","use":1,"name":"【工商银行储蓄卡】支出","remark":"编写:Ankio","id":52,"sort":8,"version":"1","regular":";try{pattern=/您尾号(\\d{4})卡(.*)工商银行支出\\((.*)\\)(.*)元,余额(.*)元。【工商银行】/;if(pattern.test(a)){var array=pattern.exec(a);var remark='$3',account='工商银行储蓄卡($1)',type='0',money='$4',shopName='工商银行储蓄卡',account2='',fee='',time='$2';for(var i=array.length-1;i>=1;i--){var rep=\"$\"+i.toString();var repStr=array[i];remark=remark.replace(rep,repStr);account=account.replace(rep,repStr);type=type.replace(rep,repStr);money=money.replace(rep,repStr);shopName=shopName.replace(rep,repStr);account2=account2.replace(rep,repStr);fee=fee.replace(rep,repStr);time=time.replace(rep,repStr)}return remark+'##'+account+'##'+type+'##'+money+'##'+account2+'##'+shopName+'##'+fee+'##'+time+'##0'}}catch(e){console.log(e)};"}],"from":"sms","id":"dvMfg2xE9r2LJtWQXVirMdx3ONdakFEz","version":"1"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    smstype is smsvalidright

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions