GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BytePrince/XYB_Auto_Sign: 校友邦实习自动签到

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
autoSign.py
autoSign.py
 
 
user.json
user.json
 
 

Repository files navigation

校友邦实习自动签到

更新日志:

【2021/03/07】完善文档说明,更换通知方式为更稳定的钉钉机器人

⛏️运行环境

Python3以及相应的库

⛏️运行方式

  1. 配置user.json信息
  2. 运行autoSign.py测试是否可以正常执行
  3. 设定定时任务

⛏️相关说明

📃user.json配置

{
  "token":{
    "openId":"填写你的openId",
    "unionId":"填写你的unionId"
  },
  "location":{
    "country":"中国",
    "province":"XX省",
    "city":"XX市",
    "adcode":"城市编码",
    "address":"XX街道XX路XX号"
  },
  "reason": "",
  "DingDingtoken":"钉钉机器人token",
  "DingDingsecret":"钉钉机器人secret"
}
✔️获取openId和unionId的方法

签到默认提交的地址是在申请实习时的地址,如果需要修改请自行修改getPosition()中的lat、lng参数(即修改经纬度)

工具:Fiddler等抓包工具、PC端wx

前提:校友邦微信小程序已绑定校友邦账号

抓包:

  1. 登录PC端wx
  2. 开启Fiddler抓包(Fiddler安装方法请自行百度)
  3. 打开校友邦微信小程序,登录(使用微信快捷登录)

  1. 这时就能看到Fiddler抓包结果,如下图

✔️关于adcode

查询地址:http://pxcity.net/sfz/zhejiang/

以浙江省宁波市为例

实习地址对应的县区级代码即为adcode

🤖钉钉机器人通知

配置钉钉机器人的方法请参考文档钉钉机器人文档

⏰定时任务

设置定时任务后就可以实现每天定时执行前到啦~

设置定时任务前请在相应的定时任务环境中手动执行一遍,检查参数是否填写正确。

  1. 腾讯云函数:文档
  2. VPS部署:文档

鸣谢

  • CncCbz/xybSign
  • xiaomingxingwu/xyb-sign

About

校友邦实习自动签到

Resources

Readme
Activity

Stars

10 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.