fix 自助申请

master
luoyang 5 years ago
parent 2cb35958f1
commit 33276f8400

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