chavyleung / chavyleung/scripts
叮咚买菜签到报错
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
iOS 14.3 NE v1.0.16-build429
Logs:
🔔 叮咚买菜 开始签到
❌ 叮咚买菜 signapp - 签到失败: SyntaxError: JSON Parse error: Unrecognized token '<'
❌ 叮咚买菜 signapp - response: {"headers":{"Transfer-Encoding":"chunked","Content-Type":"text/html; charset=utf-8","Connection":"close","Server":"nginx","Date":"Wed, 18 Nov 2020 01:47:16 GMT"},"statusCode":400,"body":"\r\n<title>400 Bad Request</title>\r\n<body bgcolor="white">\r\n
400 Bad Request
\r\nnginx\r\n\r\n\r\n"}
❌ 叮咚买菜 browseapp - 浏览商品失败: SyntaxError: JSON Parse error: Unrecognized token '<'
❌ 叮咚买菜 browseapp - response: {"headers":{"Date":"Wed, 18 Nov 2020 01:47:16 GMT","Content-Length":"166","Content-Type":"text/html","Connection":"close","Server":"nginx"},"statusCode":400,"body":"\r\n<title>400 Bad Request</title>\r\n<body bgcolor="white">\r\n
400 Bad Request
\r\nnginx\r\n\r\n\r\n"}
❌ 叮咚买菜 签到失败: TypeError: undefined is not an object (evaluating 'signinfo.signapp.code')
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the JavaScript implementation of the 叮咚买菜 signapp and browseapp entry points. Reproduce the requests using the reported iOS 14.3 and NE v1.0.16-build429 context, then investigate why both return an Nginx 400 HTML response instead of JSON. Done means the relevant requests no longer produce JSON parse errors and sign-in completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100