Giter Site home page Giter Site logo

hfutdailycp's Introduction

HFUT今日校园自动签到(3.29更新)

使用必读

  1. 本项目仅适用于合肥工业大学的今日校园打卡
  2. 以下账号、密码即新信息门户的账号(学号)和密码

实现功能

  1. 支持单人、多人打卡,格式见 使用说明步骤4
  2. 脚本在每天14:30左右自动签到,可自行更改签到时间
  3. 添加微信文本推送功能,格式见 使用说明步骤4(可选功能,如需使用请参照企业微信开放API)
企业微信开放API
1. 推送展示

推送结果将于脚本签到完成后通过微信发给你,如下图

push

2. 介绍

​ 本项目采用纯文本模式推送,更加直观

​ 接口参考地址:https://www.52pojie.cn/thread-1338005-1-1.html

  1. 接口说明:利用企业微信开放api,与普通微信即时通讯。 无需下载企业微信,只是借用企业微信api!是一款类似于server酱的一款「程序员」和「服务器」之间的通信软件。能够让服务器即时找到负责它的沙雕程序员!

  2. 对比server酱:能够更直观的获取服务器传递过来的信息,而不是server酱关注公众号后进来的卡片消息,还需要点一下才能看到。

  3. 接口地址:https://api.htm.fun/api/Wechat/text_card/

    请求方式:GET/POST

3. 注册指南
  1. 【注册企业微信】,点击这里注册企业微信,无需企业认证!

  2. 【创建程序】,获取AgentId&Secret,点击[应用管理]-[创建应用]根据提示创建一个新应用。保存好你的AgentId&Secret

  3. 【获取corpid企业ID】,点击[我的企业]-[企业信息] 在最下方获取企业ID

  4. 【启用微信插件】,点击[我的企业]-[微信插件] 用普通微信扫码二维码。

    参数 必须 说明
    corpid 企业ID
    corpsecret 应用的凭证密钥
    agentid 应用ID
    text 推送内容,支持HTML

使用说明

  1. 右上角fork本仓库(如果此脚本能帮助到你,请给一个star)

fork

  1. 点击导航栏Action,启用workflow

action

​ [下图采用其他仓库做演示]

workflow

  1. 点击setting -> secret -> 新建一个secret

secret

  1. name栏:填INFO

    value栏:(以下皆用空格隔开)

    单人打卡:

    # 非微信推送:
    0 账号 密码 0 0 0
    
    # 微信推送:
    1 账号 密码 corpid corpsecret agentid 

    多人打卡:

    # 非微信推送:
    0 账号_1 密码_1 0 0 0 账号_2 密码_2 0 0 0
    
    # 微信推送:
    1 账号_1 密码_1 corpid_1 corpsecret_1 agentid_1 账号_2 密码_2 corpid_2 corpsecret_2 agentid_2

info


常见问题

  1. 若脚本无法运行,请检查action中workflow是否启用
  2. 如脚本有bug,请自行研究;若无法自行解决,请发issue描述你的问题
  3. 如有其他问题,请通过邮箱反馈:[email protected]

声明

  1. 此脚本仅供学习交流,禁止个人盈利
  2. 脚本使用过程中,若存在瞒报误报所造成的损失由使用者个人承担

致谢

  1. mikuzhangping/mikuDailyCP
  2. qdddz/HFUT_AutoSubmit

hfutdailycp's People

Contributors

choya-lee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.