Skip to content

fix: 修改MTeam API部分请求头内容类型为application/x-www-form-urlencoded,并修正数值转换为浮点数… #823

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YuntianCheng
Copy link

修复两个问题:

  1. m-team测试连接时,请求参数错误问题
  2. 获取统计信息时的参数错误以及0.0转换int失败问题 [错误报告]: 站点 M-Team 获取流量数据失败 #807

…以避免类型错误(ValueError: invalid literal for int() with base 10: '0.0'

)
@YuntianCheng YuntianCheng changed the title fix: 修改MTeam API请求头内容类型为application/x-www-form-urlencoded,并修正数值转换为浮点数… fix: 修改MTeam API部分请求头内容类型为application/x-www-form-urlencoded,并修正数值转换为浮点数… Apr 7, 2025
@w44p
Copy link

w44p commented Apr 15, 2025

感谢,按照修改手动修改了下docker中的代码,能获取到M-Team的数据了

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.

2 participants