Skip to content
Yooking edited this page Jan 17, 2022 · 152 revisions

Content


Thanks to all the big guys who participated in the wanmeixiaoyuan check-in project


This method deploys to Github (may fail)

  1. Star and Fork.
  2. Into your Repositories,Settings → Secrets,
    add one Secret(Solving privacy concerns with secrets):
Secrets content note
USERS wanmeixiaoyuan phone number,password,deviceId,SendKey ①English comma
②Multiple users only need a new line, and enter another line according to the format
③SendKey only needs one and should be filled in after the first user.
④If you do not fill in SendKey, keep a comma at the end of each line.

  Format specification:

Title content
deviceId How to get deviceId
SendKey How to get SendKey

  The sample:

  

  1. Modify on-campus check-in address Modify the "areaStr" element in jsons in index.py.

  2. Enable Actions
    ClickActions,Click I understand...
    Feel free to add or subtract characters in README.md and submit the changes for the first run. If your workflow has not been updated for 60 days, you need to find the Enable button in the clock Workflows and click to enable it.

  3. Change the time
    Open the workflows/clock.yml file of this project and find:

    schedule:
    - cron: 30 23 * * *
    - cron: 30 5,13 * * *

  This time is international time, +8 can be calculated: 07:00, 13:30, 21:30,
  You can go to https://crontab.guru/ to help you generate task grammar.

  1. Inside-campus and outside-campus transfers
    Open the index.py file of this project and find it in the last function:
    mark = 1 #or mark = 0

  Set mark = 1, which means inside-campus,
  Set mark = 0, which means outside-campus.

  1. Check the results
    In the following figure, run is the server feedback result:


To be improved, go to the issue first. Please give more suggestions.


  1. Go to the new version of Server酱, log in to your account and bind to WeChat, and get push SendKey such as SCTxxxxxxxxxxx.
  2. Fill this SendKey into USERS as described above.
  3. If you do not need WeChat push, just leave the SendKey blank.
  4. 👍Thanks Server sauce.

Clone this wiki locally