🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 原始数据 ``` {"buyer_email":"403236160@qq.com","buyer_id":"2088002654613928","exterface":"create_direct_pay_by_user","is_success":"T","notify_id":"RqPnCoPT3K9%2Fvwbh3Ih31n6hsOcvVDY7nu1ntrc2YRpmMDrZITz6hRqm30ImDwMWU8Po","notify_time":"2018-01-08 14:47:03","notify_type":"trade_status_sync","out_trade_no":"201801080236558232489","payment_type":"1","seller_email":"sxqiboxx@163.com","seller_id":"2088821002087646","subject":"TMC-PC\u6d4b\u8bd5","total_fee":"8.50","trade_no":"2018010821001004920532359097","trade_status":"TRADE_SUCCESS","sign":"b9c0560483406b1b64b458c5fbe28716","sign_type":"MD5"} ``` ## 经过格式化之后的数据 ``` { "buyer_email": "403236160@qq.com", //购买者邮箱 "buyer_id": "2088002654613928", //购买者ID "exterface": "create_direct_pay_by_user", //购买方式 "is_success": "T", //成功 "notify_id": "RqPnCoPT3K9%2Fvwbh3Ih30dwJ7Zb3vXFydWL%2Ft0oKnTu%2BsRdgoEFmKit6S21LTOboboAF", //回调ID "notify_time": "2017-12-04 09:22:51", //回调时间 "notify_type": "trade_status_sync", //回调类型 "out_trade_no": "201712040922127507252", //订单号 "payment_type": "1", //支付方式 "seller_email": "sxqiboxx@163.com", //销售者邮箱 "seller_id": "2088821002087646", //销售者ID "subject": "PC测试", //销售标题 "total_fee": "0.01", //销售价格 "trade_no": "2017120421001004920211772510", //支付宝交易号 "trade_status": "TRADE_SUCCESS", //交易结果 "sign": "0f77fc2cf1f59bcba57ad5a85e5da4a1", //sign "sign_type": "MD5" //sign类型 } ``` ## 如图 ![mark](http://qiniu.newthink.cc/blog/20171204-095218974.png)