1、修复smzdm成功签到时的异常输出 2、加入cron运行时找不到jq路径错误 3、httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1、执行签到脚本,smzdm账户签到成功有异常输出
打开191行的输出,发现问题是smzdm前端有变化导致判断异常,最终return -1 提示出错
修改为判断是否有退出登录的字样,如果有说明登录成功,否则报错,修复后正常签到输出文字正常
2、在cron环境中运行报错jq找不到,添加PATH环境变量解决
3、httpie 在cron环境中运行时报错:http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. 参考httpie的issue httpie/cli#150