diff --git a/config.js b/config.js index b3fa78a..1535797 100644 --- a/config.js +++ b/config.js @@ -100,7 +100,7 @@ webAppH5.aliPayServer = "/alipay/aliH5Pay"; /*正式环境前缀*/ //http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay -/* +/*类型1: lotId -->parkingId receiptNo --> carNumber 车牌号 direction 固定 1 @@ -113,6 +113,6 @@ channelId 固定 小票二维码 //http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/index.html?appid=0&lotId=3504&payConfigId=2&receiptNo=蒙D871R2 -/*类型1:codeType2动态二维码正式环境地址前缀*/ +/*类型2:codeType2动态二维码正式环境地址前缀*/ //http://wxgzh.renniting.cn/wechatwuxi/DEV/Threewf/codepay/index.html?codeType=2&isNeedPay=1&orderId=001&parkName=万达停车场&parkCode=a001&inparktime=2018-12-26 00:00:00&outtime=2018-12-26 10:00:00&staytime=360&orderFee=100&plateno=蒙DY2408 diff --git a/doc.txt b/doc.txt index b04a465..85e3650 100644 --- a/doc.txt +++ b/doc.txt @@ -1,4 +1,5 @@ - +git +http://192.168.1.195:9998/web_developers/codepay.git //ӿĵ- @@ -69,4 +70,7 @@ 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 + diff --git a/in2.png b/in2.png new file mode 100644 index 0000000..00f0f8d --- /dev/null +++ b/in2.png diff --git a/js/jweixin-1.0.0.js b/js/jweixin-1.0.0.js new file mode 100644 index 0000000..d4eddc2 --- /dev/null +++ b/js/jweixin-1.0.0.js @@ -0,0 +1 @@ +!function(e,n){"function"==typeof define&&(define.amd||define.cmd)?define(function(){return n(e)}):n(e,!0)}(this,function(e,n){function i(n,i,t){e.WeixinJSBridge?WeixinJSBridge.invoke(n,o(i),function(e){c(n,e,t)}):d(n,t)}function t(n,i,t){e.WeixinJSBridge?WeixinJSBridge.on(n,function(e){t&&t.trigger&&t.trigger(e),c(n,e,i)}):t?d(n,t):d(n,i)}function o(e){return e=e||{},e.appId=L.appId,e.verifyAppId=L.appId,e.verifySignType="sha1",e.verifyTimestamp=L.timestamp+"",e.verifyNonceStr=L.nonceStr,e.verifySignature=L.signature,e}function r(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function c(e,n,i){delete n.err_code,delete n.err_desc,delete n.err_detail;var t=n.errMsg;t||(t=n.err_msg,delete n.err_msg,t=a(e,t),n.errMsg=t),(i=i||{})._complete&&(i._complete(n),delete i._complete),t=n.errMsg||"",L.debug&&!i.isInnerInvoke&&alert(JSON.stringify(n));var o=t.indexOf(":");switch(t.substring(o+1)){case"ok":i.success&&i.success(n);break;case"cancel":i.cancel&&i.cancel(n);break;default:i.fail&&i.fail(n)}i.complete&&i.complete(n)}function a(e,n){var i=e,t=g[i];t&&(i=t);var o="ok";if(n){var r=n.indexOf(":");"confirm"==(o=n.substring(r+1))&&(o="ok"),"failed"==o&&(o="fail"),-1!=o.indexOf("failed_")&&(o=o.substring(7)),-1!=o.indexOf("fail_")&&(o=o.substring(5)),"access denied"!=(o=(o=o.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=o||(o="permission denied"),"config"==i&&"function not exist"==o&&(o="ok"),""==o&&(o="fail")}return n=i+":"+o}function s(e){if(e){for(var n=0,i=e.length;n