Giter Site home page Giter Site logo

shuasr's Issues

在沪不在校情况出现填报错误

3月21日返家以后手动填报了一次,但是今天开始一直填报错误
日志如下:
{'__EVENTTARGET': 'p1$ctl01$btnSubmit', 'p1$pnlDangSZS$DangSZS': ['A'], 'p1$BaoSRQ': '2022-03-22', 'p1$ShiFSH': '在上海(不在校内)', 'p1$ShiFZX': '否', 'p1$ShiFZJ': '是', 'F_TARGET': 'p1_ctl01_btnSubmit', 'p1$ddlSheng$Value': '***海, length: 2', 'p1$ddlSheng': '***海, length: 2', 'p1$ddlShi$Value': '***市, length: 3', 'p1$ddlShi': '***市, length: 3', 'p1$ddlXian$Value': '***区, length: 3', 'p1$ddlXian': '区, length: 3', 'p1$XiangXDZ': '室, length: 14', 'p1$pImages$HFimgSuiSM': '=, length: 12', 'p1$pImages$HFimgXingCM': '=, length: 12'}

关于每周上传一次的***

近期每日一报升级了系统,每名用户需在每周周X上传一次***,例如某人在周三出现了上传表单,则以后的每周三都要上传一次。因此现在对本自动填报系统做出如下调整策略:

1. 新增 upload-old-xc 分支,该分支将自动获取上一次旧的***上传

2. 默认分支 master 采用判断用户是否需要上传,并在填报结果消息中提醒的策略

理论上,用户所属的管理部门(辅导员等)可以查阅审核其上传的***。请根据实际情况选择要使用的填报策略,使用本系统造成的任何后果由使用者自行承担。

经过一周的测试,确认该码上传后无任何自动或人工校验程序,纯粹是形式主义,因此默认采用上次提交的***上报

2021.11.17 出现检测流程,若上传非当日截图会出现系统提示(见下)
Clip_20211117_120129
目前已确认只有上传旧的***才会触发检测,若上传的是与***无关图片不会触发,现调整策略为,默认上传一个1×1大小的空白图片作为***;如果不需要自动上传该图片,可在需要上传***时通过消息推送提示,实现方法为:

若在GitHub Actions中使用,增加一个名称为NOTIFY_XC,值为enable的Secret;

若在自建服务器使用,修改config.yaml,增加一行 notify_xc: true

当天正常上传过后,程序再次运行时会自动采用已上传的码,不会覆盖

2022.01.15: 现实现方式更改为绕过上传接口,目前不会触发检测

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.