|
|
|
@ -141,7 +141,10 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
|
|
|
|
|
$scope.sendPhoneCodeTime();
|
|
|
|
|
$http.post('/register/info/phone/'+ $scope.partner.contact_phone +'/verify?nation_code='+$scope.partner.nation_code).then(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;
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|