Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

重试次数设置失败 #66

Open
SUTFutureCoder opened this issue Jun 8, 2018 · 3 comments
Open

重试次数设置失败 #66

SUTFutureCoder opened this issue Jun 8, 2018 · 3 comments

Comments

@SUTFutureCoder
Copy link

gosuv (0.1.1)版本设置重试次数后,仍然恢复默认值3,烦请修复谢谢
打开控制台,抓取XHR请求
response
{"error":"json: cannot unmarshal string into Go value of type int","status":1}

附:
请求体
{"name":"noah-zhongbao","command":"go run main.go -conf noah.ini -program noah_zhongbao","environ":null,"directory":"/home/map/gopath/src/flock/flock","startAuto":false,"startRetries":"9999","startSeconds":3,"stopTimeout":3,"user":""}:

machi 2018-06-08 11-31-20

@codeskyblue
Copy link
Owner

这个项目暂时不打算动了,如果有时间的话,我会重新写一个

@SUTFutureCoder
Copy link
Author

辛苦大佬

@Zhang-Siyang
Copy link

我也遇到这个问题了,修改请求体即可侧面绕过。

  1. 导出出错的请求到 curl
  2. 编辑 payload,比如我把 "start_retries":"5" 换成了 "start_retries":5
  3. 刷新页面查看效果

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

No branches or pull requests

3 participants