d66e233c by ex

修改回调地址

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