|
@@ -7,7 +7,7 @@ var hlbWechatMixin = function () {
|
|
|
var _this = this;
|
|
|
var params={
|
|
|
payType:'GZH',
|
|
|
- payAmount:Math.round(_this.payAmount*100),
|
|
|
+ payAmount:Math.round(_this.payAmount),
|
|
|
code:_this.wechatcode,
|
|
|
state:_this.rand(1000,9999),
|
|
|
shopOrderId:_this.shopOrderId,
|
|
@@ -77,7 +77,7 @@ var hlbWechatMixin = function () {
|
|
|
},
|
|
|
hlb_handlResponse:function (response) {
|
|
|
var _this = this;
|
|
|
- if(response.code == 0){
|
|
|
+ if(response.code === 0){
|
|
|
var PayInfo = JSON.parse(response.data.rt10_payInfo);
|
|
|
if (typeof WeixinJSBridge == "undefined"){
|
|
|
if( document.addEventListener ){
|