master
wangning 7 years ago
parent d9a6af58bb
commit b5f2f1ed29

@ -141,7 +141,10 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
$scope.sendPhoneCodeTime(); $scope.sendPhoneCodeTime();
$http.post('/register/info/phone/'+ $scope.partner.contact_phone +'/verify?nation_code='+$scope.partner.nation_code).then(function (resp) { $http.post('/register/info/phone/'+ $scope.partner.contact_phone +'/verify?nation_code='+$scope.partner.nation_code).then(function (resp) {
}, function (resp) { }, function (resp) {
$interval.cancel($scope.phone_code_timer); if(resp.data.status+0 ==500) {
$interval.cancel($scope.phone_code_timer);
}
$scope.resError = resp.data.message; $scope.resError = resp.data.message;
}); });
}; };

Loading…
Cancel
Save