d66e233c by ex

修改回调地址

1 parent 03dac8f6
...@@ -60,7 +60,12 @@ angular.module('myApp.services') ...@@ -60,7 +60,12 @@ angular.module('myApp.services')
60 var wxh5ApiCall = function (sign, q) { 60 var wxh5ApiCall = function (sign, q) {
61 // console.log('sign', sign); 61 // console.log('sign', sign);
62 $state.go('bond'); 62 $state.go('bond');
63 window.location.href = sign.mwebUrl; 63 var redirect_url= ''
64 if(isiOS){
65 redirect_url = "www.xxxx.com%3A%2F%2F"
66 }
67 window.location.href = sign.mwebUrl + redirect_url;
68
64 } 69 }
65 70
66 71
...@@ -69,11 +74,6 @@ angular.module('myApp.services') ...@@ -69,11 +74,6 @@ angular.module('myApp.services')
69 $http.post(url, data) 74 $http.post(url, data)
70 .success(function (data) { 75 .success(function (data) {
71 if(data.meta.code == 200) { 76 if(data.meta.code == 200) {
72
73 layer.open({
74 content: data
75 })
76 return
77 // alert('支付签名返回:' + JSON.stringify(data)); 77 // alert('支付签名返回:' + JSON.stringify(data));
78 wxh5ApiCall(data.data.wechatDto, q); 78 wxh5ApiCall(data.data.wechatDto, q);
79 }else{ 79 }else{
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!