认证图片的调整

issues25489
cxt 5 years ago
parent 8dd3687bc8
commit f14ab33e80

@ -17,6 +17,6 @@ class Users::AuthenticationAppliesController < Users::BaseAccountController
private
def create_params
params.permit(:name, :gender, :id_number, :upload_image, :attachment_ids)
params.permit(:name, :gender, :id_number, :upload_image, attachment_ids: [])
end
end

@ -17,6 +17,6 @@ class Users::ProfessionalAuthAppliesController < Users::BaseAccountController
private
def create_params
params.permit(:school_id, :department_id, :identity, :extra, :upload_image, :attachment_ids)
params.permit(:school_id, :department_id, :identity, :extra, :upload_image, attachment_ids: [])
end
end
Loading…
Cancel
Save