AutoAccountingOrg / AutoRule

该工具是自动记账App的衍生工具,用于构建自动记账的自动分类规则和自动识别规则。
GNU General Public License v3.0
26 stars 6 forks source link

适配请求:com.eg.android.AlipayGphone #283

Closed mildnes closed 1 month ago

mildnes commented 1 month ago
{"ariverRpcTraceId":"client`X7VXGjm6L+gDALequp54QuNsP8Cr3XC_5017499","buttons":[],"code":0,"degradeCardFromMrchorder":false,"extension":{"PID":"2088931374361058","bizInNo":"2024092022001452021447827058","bizType":"TRADE","gmtBizCreateTime":"1726791812000","is_display_marketing":"Y","mdata":"{\"conbiz_biztype\":\"TRADE\",\"conbiz_bizinno\":\"2024092022001452021447827058\",\"conbiz_bizsubtype\":\"1\",\"conbiz_syscategory3\":\"1401\",\"conbiz_opp_uid\":\"2088931374361058\",\"conbiz_pid\":\"2088931374361058\"}","processDate":"2024-09-20 08:23:33","showGuaguaCard":"false","tradeFrom":"6003","tradeNumber":"2024092022001452021447827058"},"fields":[{"locationPage":"main","templateId":"BLDetailTitle","type":"birdNest","value":"{\"icon\":\"https://mdn.alipayobjects.com/mif_pub/afts/file/A*oG5vTb1_Yt8AAAAAAAAAAAAAG5B2AQ\",\"content\":\"花小猪打车\"}"},{"locationPage":"main","templateId":"BLDetailPrice","type":"birdNest","value":"{\"amount\":\"-31.69\",\"status\":\"交易成功\"}"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"2024-09-20 08:23:33\",\"inOut\":0,\"needVerify\":false,\"seed\":\"100007\"}],\"title\":\"支付时间\"}"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"民生银行信用卡(3321)\",\"extInfo\":{},\"goto\":\"alipays://platformapi/startapp?appId=20000067&showProgress=NO&canPullDown=NO&source=bankCard&scene=billCardSingle&url=https%3A%2F%2Frender.alipay.com%2Fp%2Fyuyan%2F180020010001250615%2Faggregate-bill.html%3FinstId%3DCMBC%26bankCardType%3DCC%26last4CardNo%3D3321\",\"inOut\":2,\"needVerify\":false,\"seed\":\"billPayToolInfo\"}],\"title\":\"付款方式\"}"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"预付车费\",\"inOut\":0,\"needVerify\":false,\"seed\":\"billDetailProductInfo\"}],\"title\":\"商品说明\"}"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"2024-09-20 08:23:17\",\"inOut\":0,\"needVerify\":false}],\"title\":\"乘车时间\"}"},{"locationPage":"main","templateId":"BLComplexButtonTitle","type":"birdNest","value":"{\"buttonType\":\"POINT_RECEIVE\",\"cartonParams\":{\"point\":\"3\"},\"contentMap\":{\"0\":\"你有24积分将过期,去兑红包\",\"1\":\"立即领取3支付宝积分\"},\"gotoUrl\":\"alipays://platformapi/startapp?appId=68687805&url=https%3A%2F%2Frender.alipay.com%2Fp%2Fyuyan%2F180020380000000023%2Fhome-page.html%3FnaviCode%3DALL%26isAnchoredFeeds%3Dtrue%26quickTagCode%3DUEP%26source%3DBILL_TEXT%26chInfo%3DBILL_TEXT%26passInfo%3D%7B%22ttci%22%3A%22AMTT202301101885184994%22%2C%22ch%22%3A%22BILL_TEXT%22%2C%22obn%22%3A%222024092022001452021447827058%22%7D\",\"method\":\"com.alipay.alipaymember.biz.rpc.pointcert.h5.receivePointByUser\",\"params\":{\"logicCertId\":\"N_11286901310\",\"bizSource\":\"mobilebill\"},\"status\":\"1\",\"title\":\"支付奖励\"}"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"花小猪科技发展有限公司\",\"inOut\":0,\"needVerify\":false,\"seed\":\"billDetailUserRight_100029\"}],\"title\":\"收款方全称\"}"},{"locationPage":"main","templateId":"BLDetailSplitLine","type":"birdNest"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"2024092022001452021447827058\",\"inOut\":0,\"needVerify\":false}],\"title\":\"订单号\"}"},{"locationPage":"main","templateId":"BLDetailCommon","type":"birdNest","value":"{\"data\":[{\"content\":\"500_202409203356978702240371\",\"inOut\":0,\"needVerify\":false}],\"title\":\"商家订单号\"}"},{"locationPage":"main","templateId":"BLDetailBlankArea","type":"birdNest"},{"locationPage":"main","templateId":"BLNewCategory","type":"birdNest","value":"{\"content\":\"交通出行\",\"inOut\":0,\"needVerify\":false,\"seed\":\"billLifeCategory\",\"title\":\"账单分类\"}"},{"locationPage":"main","templateId":"BLTagAndEssay","type":"birdNest","value":"{\"data\":[{\"content\":\"\",\"goto\":\"alipays://platformapi/startapp?appId=66666698&url=%2Fwww%2Findex.html%3FgmtBizCreate%3D1726791812000%26bizInNo%3D2024092022001452021447827058%26bizType%3DTRADE\",\"inOut\":0,\"needVerify\":false,\"seed\":\"billTagAndEssay\",\"title\":\"标签和备注\"}]}"},{"locationPage":"main","templateId":"BLStatManage","type":"birdNest","value":"{\"content\":\"0\",\"inOut\":0,\"needVerify\":false,\"seed\":\"countswitch\",\"title\":\"计入收支\"}"},{"locationPage":"main","templateId":"BLDetailLink","type":"birdNest","value":"{\"data\":[{\"extInfo\":{\"contactReportInfo\":\"{\\\"sceneCode\\\":\\\"mot_bills_contacts\\\",\\\"routerId\\\":\\\"csmd6946ae3bd10464d94d7190361f1dfdf\\\",\\\"motId\\\":\\\"csmd6946ae3bd10464d94d7190361f1dfdf\\\",\\\"obId\\\":\\\"CARD1675061621443\\\"}\",\"contactList\":\"[{\\\"contactWay\\\":\\\"在线客服\\\",\\\"type\\\":\\\"imUrl\\\",\\\"url\\\":\\\"alipays://platformapi/startapp?appId=2021002109652264&page=pages/index/index&query=needLogin%3Dtrue%26zfb%3Dtrue%26type%3Dh5%26path%3Dhttps%3A%2F%2Fhelp.hongyibo.com.cn%2Fstatic%2Fpassenger%2F%23%2F%3Fsource%3Dzfbxcx_hxzdc_grzx_kfcp%26lat%3D0%26lng%3D0\\\"}]\",\"contactSource\":\"ExternalProd\",\"payTime\":\"2024-09-20 08:23:33\"},\"inOut\":0,\"infoLevel\":\"100\",\"needVerify\":false,\"seed\":\"contactMerchant\",\"title\":\"联系商家\",\"titleLogo\":\"https://mdn.alipayobjects.com/huamei_6cknvu/afts/img/A*7UzAQae7HXAAAAAAAAAAAAAADoWDAQ/original\"},{\"goto\":\"alipays://platformapi/startapp?appId=2060090000290256&appClearTop=false&startMultApp=YES&allowsBounceVertical=NO&scene=CONTACT_BILL_DETAIL&oppositeCardNo=2088931374361058&title=%E8%8A%B1%E5%B0%8F%E7%8C%AA%E6%89%93%E8%BD%A6&url=https%3A%2F%2Frender.alipay.com%2Fp%2Fyuyan%2F180020010001250615%2Fgeneral-record.html%3FcaprMode%3Dsync\",\"inOut\":0,\"infoLevel\":\"80\",\"needVerify\":false,\"seed\":\"contactQuery\",\"title\":\"查看往来记录\",\"titleLogo\":\"https://mdn.alipayobjects.com/huamei_6cknvu/afts/img/A*sFVyQ5mQPpQAAAAAAAAAAAAADoWDAQ/original\"},{\"goto\":\"alipays://platformapi/startapp?appId=60000154&url=%2Fwww%2Findex%2Fcreate.htm%3Fsource%3Dbill_01%26amount%3D31.69%26remark%3D%E9%A2%84%E4%BB%98%E8%BD%A6%E8%B4%B9\",\"inOut\":0,\"infoLevel\":\"50\",\"needVerify\":false,\"seed\":\"showAA\",\"title\":\"AA收款\",\"titleLogo\":\"https://mdn.alipayobjects.com/huamei_6cknvu/afts/img/A*G9fTSpO8T6wAAAAAAAAAAAAADoWDAQ/original\"},{\"goto\":\"alipays://platformapi/startapp?appId=68687823&startMultApp=YES&appClearTop=false&url=%2Fwww%2FmultipleTrade.html%3Ftitle%3D%E8%8A%B1%E5%B0%8F%E7%8C%AA%E6%89%93%E8%BD%A6%26oppositeCardNo%3D2088931374361058\",\"inOut\":0,\"infoLevel\":\"10\",\"needVerify\":false,\"seed\":\"ProofOfTransaction\",\"title\":\"往来流水证明\",\"titleLogo\":\"https://mdn.alipayobjects.com/huamei_6cknvu/afts/img/A*zv5nToAdXLgAAAAAAAAAAAAADoWDAQ/original\"},{\"goto\":\"alipays://platformapi/startapp?appId=68687823&url=%2Fwww%2Freceipt.html%3FbizInNo%3D2024092022001452021447827058%26bizType%3DTRADE%26bizSubType%3D1%26userId%3D2088802098052022\",\"inOut\":0,\"infoLevel\":\"10\",\"needVerify\":false,\"seed\":\"voucher\",\"title\":\"申请电子回单\",\"titleLogo\":\"https://mdn.alipayobjects.com/huamei_6cknvu/afts/img/A*cJS2S6LFZlIAAAAAAAAAAAAADoWDAQ/original\"},{\"goto\":\"alipays://platformapi/startapp?appId=77700256&query=scene%3dmbill_tips%26bizNo%3d2024092022001452021447827058\",\"inOut\":0,\"infoLevel\":\"3\",\"needVerify\":false,\"seed\":\"selfHelp\",\"title\":\"对此订单有疑问\",\"titleLogo\":\"https://mdn.alipayobjects.com/huamei_6cknvu/afts/img/A*JprOQZFp2u8AAAAAAAAAAAAADoWDAQ/original\"}]}"}],"logisticsModel":{"nodes":[]},"needDisplayCardStyle":true,"needDisplayConsumeRate":true,"refundModel":{"fundBatch":[]},"showAuthPage":false,"succ":true,"switchNewVersion":true}
github-actions[bot] commented 1 month ago

该数据已适配,以下为自动识别的结果:

{
  type: 'Expend',
  money: 31.69,
  fee: 0,
  shopName: '花小猪打车',
  shopItem: '预付车费',
  accountNameFrom: '支付宝余额',
  accountNameTo: '',
  currency: 'CNY',
  time: 1726820613000,
  channel: '支付宝[普通交易]'
}