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

Form instance for people not within the school boundaries #3

Open
Dimlitter opened this issue Jul 25, 2022 · 0 comments
Open

Form instance for people not within the school boundaries #3

Dimlitter opened this issue Jul 25, 2022 · 0 comments

Comments

@Dimlitter
Copy link
Owner

Notice : Before you start using, it is recommended to adjust the data form according to your own situation(network packet capture)

Here is an example for those who are not within the school boundaries:

Warning : Compared to forms for those who stays in school areas, form outside contains less contents. You can use diff command to seek out what is changed.

The parameter id and uid are no longer required, thus you should comment out the regex which is used for getting them. (if necessary)

data = {
                'sfymqjczrj': '0', 
                'zjdfgj': '',
                'sfyrjjh': '0',
                'cfgj': '',
                'tjgj': '',
                'nrjrq': '0',
                'rjka': '',
                'jnmddsheng': '',
                'jnmddshi': '',
                'jnmddqu': '',
                'jnmddxiangxi': '',
                'rjjtfs': '',
                'rjjtfs1': '',
                'rjjtgjbc': '',
                'jnjtfs': '',
                'jnjtfs1': '',
                'jnjtgjbc': '',
                # 是否确认信息属实
                'sfqrxxss': '1',
                'sfqtyyqjwdg': '',
                'sffrqjwdg': '',
                'sfhsjc': '',
                'zgfx14rfh': '0',
                'zgfx14rfhdd': '',
                'sfyxjzxgym': '',
                # 是否不宜接种人群
                'sfbyjzrq': '0',
                'jzxgymqk': '0', # 这里是第三针相关参数,1是已接种第一针,4是已接种第二针(已满6个月),5是已接种第二针(未满6个月),6是已接种第三针,3是未接种
                'tw': '0',
                'sfcxtz': '0',
                'sfjcbh': '0',
                'sfcxzysx': '0',
                'jcjg': '',
                'qksm': '',
                'sfyyjc': '0',
                'jcjgqr': '0',
                'remark': '',
                'address': formatted_address,
                'geo_api_info': geo_api_info_dict,
                'area': "{} {} {}".format(address_component.get("province"), address_component.get("city"),
                                        address_component.get("district")),
                'province': address_component.get("province"),
                'city': address_component.get("city"),
                # 是否在校:本实例为不在校
                'sfzx': '0', 
                'sfjcwhry': '0',
                'sfjchbry': '0',
                'sfcyglq': '0',
                'gllx': '',
                'glksrq': '',
                'jcbhlx': '',
                'jcbhrq': '',
                'bztcyy': '', 
                'sftjhb': '0',
                'sftjwh': '0',
                'sfjcqz': '0', 
                'jcqzrq': '',
                'jrsfqzys': '0',
                'jrsfqzfy': '0',
                'sfyqjzgc': '0',
                # 是否申领杭州健康码
                'sfsqhzjkk': '',
                # 杭州健康吗颜色,1:绿色 2:红色 3:黄色
                'sqhzjkkys': '1',
                'gwszgzcs': '',
                'szgj': '',
                'fxyy': '',
                'jcjg': '',
                'date': get_date(),
                'created': round(time.time()),
                'szgjcs': '',
                'ismoved': '5',
                'zgfx14rfhsj':'',
                'campus': '', # 不在校即为空值
                'verifyCode': ''  ,
                'internship': '1' # 实习参数 1:否,2:校内实习,3:校外实习
            }
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

1 participant