Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 4 commits into from

Conversation

zminds
Copy link

@zminds zminds commented Oct 24, 2016

1、执行签到脚本,smzdm账户签到成功有异常输出

snip20161024_17
打开191行的输出,发现问题是smzdm前端有变化导致判断异常,最终return -1 提示出错
snip20161024_18
修改为判断是否有退出登录的字样,如果有说明登录成功,否则报错,修复后正常签到输出文字正常
snip20161024_19

2、在cron环境中运行报错jq找不到,添加PATH环境变量解决

snip20161024_22

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

snip20161024_23

@zminds zminds changed the title 修复smzdm成功签到时的异常输出 修复smzdm成功签到时的异常输出,加入cron运行时找不到jq路径错误,及httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. Oct 24, 2016
@zminds zminds changed the title 修复smzdm成功签到时的异常输出,加入cron运行时找不到jq路径错误,及httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. 修复smzdm成功签到时的异常输出加入cron运行时找不到jq路径错误,及httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. Oct 24, 2016
@zminds zminds changed the title 修复smzdm成功签到时的异常输出加入cron运行时找不到jq路径错误,及httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. 修复smzdm成功签到时的异常输出 \n 加入cron运行时找不到jq路径错误 \n httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. Oct 24, 2016
@zminds zminds changed the title 修复smzdm成功签到时的异常输出 \n 加入cron运行时找不到jq路径错误 \n httpie在cron运行时的报错http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed. 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. Oct 24, 2016
@zminds zminds closed this Oct 24, 2016
@zminds
Copy link
Author

zminds commented Oct 24, 2016

对不起提交了一些无关文件 pr自动合并过来了 关闭重新提交

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant