|
|
|
@ -41,7 +41,7 @@ define(['../app'], function (app) {
|
|
|
|
$scope.order = order.data;
|
|
|
|
$scope.order = order.data;
|
|
|
|
$scope.getPayLocation=function (ip) {
|
|
|
|
$scope.getPayLocation=function (ip) {
|
|
|
|
$http.get('/dev/ip/'+ip).then(function (res) {
|
|
|
|
$http.get('/dev/ip/'+ip).then(function (res) {
|
|
|
|
$scope.pay_location = res.data;
|
|
|
|
$scope.pay_location = res.data.city;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
|