|
|
|
@ -359,8 +359,10 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if ($scope.partner.client_pay_type instanceof Array || $scope.partner.client_pay_desc instanceof Array) {
|
|
|
|
|
if ($scope.partner.client_pay_type instanceof Array) {
|
|
|
|
|
$scope.partner.client_pay_type = $scope.partner.client_pay_type.join(',');
|
|
|
|
|
}
|
|
|
|
|
if ($scope.partner.client_pay_desc instanceof Array) {
|
|
|
|
|
$scope.partner.client_pay_desc = $scope.partner.client_pay_desc.join(',');
|
|
|
|
|
}
|
|
|
|
|
$http.post('/register/info/update/' + $scope.partner.username, $scope.partner).then(function (resp) {
|
|
|
|
|