(var_name)
| 32 | return dqsj, dysj |
| 33 | |
| 34 | def get_env_variable(var_name): |
| 35 | value = os.getenv(var_name) |
| 36 | if value is None: |
| 37 | print(f'环境变量{var_name}未设置,请检查。') |
| 38 | return None |
| 39 | accounts = value.strip().split('\n') |
| 40 | print(f'-----------本次账号运行数量:{len(accounts)}-----------') |
| 41 | print(f'------全棉时代种棉花-----1.2------') |
| 42 | return accounts |
| 43 | |
| 44 | def create_headers(code, token): |
| 45 | headers = { |