Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applyment_submit #13

Closed
realwrtoff opened this issue Mar 6, 2022 · 1 comment
Closed

applyment_submit #13

realwrtoff opened this issue Mar 6, 2022 · 1 comment

Comments

@realwrtoff
Copy link

path should end with ‘/’, path = '/v3/applyment4sub/applyment/', otherwise will return 404.
Also,some field should encrypt too, add logic as follows in applyment_submit function:
if params.get('subject_info').get('identity_info'):
id_card_info = params.get('subject_info').get('identity_info').get('id_card_info')
if id_card_info is not None:
id_card_info['id_card_name'] = self._core.encrypt(id_card_info['id_card_name'])
id_card_info['id_card_number'] = self._core.encrypt(id_card_info['id_card_number'])
cipher_data = True

@minibear2021
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants