Fix the CpDaily for you.
Note: Public releases would have Telemetry enabled for error-reporting. Build it yourself to disable this feature.
Example:
users:
- school: school_id_or_name
username:
password:
address: 安徽省蚌埠市XX区XX路XX号
device_info:
model: Galaxy Nexus
app_version: "9.0.12"
system_version: "11.0.0"
system_name: android
device_id: <random 16 byte hex>
lat: 36.123456
lon: 120.789012
user_agent: Mozilla/5.0 (Linux; Android 8.0.0; MI 6 Build/OPR1.170623.027; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.131 Mobile Safari/537.36 okhttp/3.12.4 cpdaily/9.0.12 wisedu/9.0.12
actions:
- type: CounselorFormFill
force_submit: false
form_data:
- question: 所在地
answer: 山东省/安徽市/蚌埠区/蚌埠住了大学
- question: 体温
answer: "37.2"
- question: 身体状况
answer: 健康
- question: 近14天
answer: 否
- question: 你或你的共同居住人
answer: 否
- question: 健康码颜色
answer: 绿色
- question: 是否承诺
answer: 是
- school:
...
- Support multi choice
- Support photo upload
- Support CAS login
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.