fix 自助申请

master
luoyang 6 years ago
parent 31f645c5f1
commit 4a8e19ce70

@ -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) {

Loading…
Cancel
Save