git http://192.168.1.195:9998/web_developers/codepay.git //进出场接口文档-卫岗 http://39.98.54.240:88/apidoc/index.php?s=/7&page_id=606 //支付接口文档-王彪 http://39.98.54.240:88/apidoc/index.php?s=/7&page_id=591 //进场参数 http://localhost:18879/page/in.html?plNo=P11011700C&parkingId=00&channelId=172198242&direction=0&codeType=0&expireDate=expireDate&extendData=extendData //出场参数 http://localhost:18879/page/out.html?plNo=P11011700C&parkingId=00&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData //获取订单 http://10.168.6.155/appWay/page/out.html?plNo=P11011700C&parkingId=1&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData //入场 http://10.168.6.155/appWay/page/in.html?plNo=P11011700C&parkingId=1&channelId=172198242&direction=0&codeType=0&expireDate=expireDate&extendData=extendData //测试服务器进场首页 http://39.98.54.240/codepay/index.html?plNo=P11011700C&parkingId=1&channelId=172198242&direction=0&codeType=0&expireDate=expireDate&extendData=extendData //测试服务器出场首页 http://39.98.54.240/codepay/index.html?plNo=P11011700C&parkingId=1&channelId=172198243&direction=1&codeType=0&expireDate=expireDate&extendData=extendData 说明: 支付宝:后台返回form表单,直接支付,简单。 微信支付麻烦,1服务号需要配置支付目录;2:获取code;3:获取openid;4:获取参数;5:发起支付; JSAPI支付流程 pay.html,先校验订单,在发起请求 //小票固定参数 [billCodePay.html,扫码二维码,纸质] 对应关系: lotId -->parkingId 停车场编号 receiptNo --> carNumber 车牌号 direction 固定 1 codeType 固定 1 terminalSource 固定 7 channelId 固定 小票二维码 //动态二维码[dynCodePay.html] String qrcodeType;//2-动态二维码 private Boolean isNeedPay=true; private String orderId;//订单号 private String parkName;//停车场名称 private String parkCode;//停车场编号 private String inparktime;//进场时间 格式:yyyy-MM-dd HH:mm:ss private String outtime;//出场时间 格式:yyyy-MM-dd HH:mm:ss private String staytime;//停车时长1 private String orderFee;//本次出场实际应付金额(减去折扣,优惠券等之后的应付金额)分 private String plateno;// 车牌号 ?codeType=2&isNeedPay=1&orderId=001&parkName=万达停车场&parkCode=a001&inparktime=2018-12-26 00:00:00&outtime=2018-12-26 10:00:00&staytime=1&orderFee=100&plateno=蒙DY2408 //动态二维码测试,订单号:101527546939039301632 车牌:蒙D11111 可以测试 http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/dynCodePay.html?codeType=2&isNeedPay=1&orderId=101527546939039301632&parkName=%E4%B8%87%E8%BE%BE%E5%81%9C%E8%BD%A6%E5%9C%BA&parkCode=a001&inparktime=2018-12-26%2000%3A00%3A00&outtime=2018-12-26%2010%3A00%3A00&staytime=360&orderFee=100&plateno=%E8%92%99DY2408