请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答 回答被采纳积分+3

1回答

CrazyCodeBoy 2025-06-06 09:17:48
可以将完整错误log截图和请求入参发一下,我看看是哪个接口具体的情况
0 回复 有任何疑惑可以回复我~
  • 提问者 疯狂的loser #1
    I/flutter ( 3877): url:https://api.devio.org/uapi/user/registration?userName=ljl&password=199280&imoocId=3302779&orderId=3206
    I/flutter ( 3877): hi_net:{url:https://api.devio.org/uapi/user/registration?userName=ljl&password=199280&imoocId=3302779&orderId=3206}
    I/flutter ( 3877): url:https://api.devio.org/uapi/user/registration?userName=ljl&password=199280&imoocId=3302779&orderId=3206
    I/flutter ( 3877): hi_net:{NoSuchMethodError: The getter 'data' was called on null.
    I/flutter ( 3877): Receiver: null
    I/flutter ( 3877): Tried calling: data}
    I/flutter ( 3877): hi_net:{NoSuchMethodError: The getter 'data' was called on null.
    I/flutter ( 3877): Receiver: null
    I/flutter ( 3877): Tried calling: data}
    I/flutter ( 3877): hi_net:{null}
    I/flutter ( 3877): Instance of 'HiNetError'
    回复 有任何疑惑可以回复我~ 2025-06-06 10:13:46
  • 提问者 疯狂的loser #2
    我还用了api文档报这个错
    https://api.devio.org/uapi/user/registration?userName=llll&password=1234&imoocId=3302779&orderId=3206&courseFlag=ZmEtMjAyMS0wNC0xMiAyMToyMjoyMC1mYQ
    
    	Error:
    Response body
    {
      "timestamp": "2025-06-06T02:15:28.802+0000",
      "status": 500,
      "error": "Internal Server Error",
      "message": "No message available",
      "path": "/uapi/user/registration"
    }
    Response headers
     connection: keep-alive 
     content-type: application/json;charset=UTF-8 
     date: Fri, 06 Jun 2025 02:15:28 GMT 
     server: nginx/1.16.1 
     transfer-encoding: chunked
    回复 有任何疑惑可以回复我~ 2025-06-06 10:16:54
  • CrazyCodeBoy 回复 提问者 疯狂的loser #3
    注册接口只支持post请求,检查下请求是不是用的post
    回复 有任何疑惑可以回复我~ 2025-06-10 08:56:37
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号