Git Product home page Git Product logo

Comments (10)

Mrvivi avatar Mrvivi commented on July 26, 2024

部署好之后,进http://x.x.x.x:8081/show/flow ,结果为:{"code":200,"data":{"id":0,"username":"","use":0,"total":0,"generalUse":0,"generalTotal":0,"specialUse":0,"specialTotal":0,"balance":0,"voiceUsage":0,"voiceAmount":0,"createTime":"","items":null}}

我看过data/login里面的三张图片,是正常的,然后我把data/log里面的日志放在附件你帮我看下
stdout.log

from chinatelecommonitor.

LambdaExpression avatar LambdaExpression commented on July 26, 2024

可以试一下用电信的app,看能不能正常查询到流量信息吗?

from chinatelecommonitor.

Mrvivi avatar Mrvivi commented on July 26, 2024

其实之前用了很长一端时间它都是好的,也不知道什么时候就不正常显示了,也重新安装了。你看,以下三处数值是不一样的 :
Snipaste_2022-08-26_15-49-28

Screenshot_20220826_154153

IMG_5183

from chinatelecommonitor.

Mrvivi avatar Mrvivi commented on July 26, 2024

我还测试出来了一个事情,教程里面获取余量信息的叫做天翼账号,我用电信营业厅这个APP的这套账号密码也是可以获取到余量信息的,也就是说这两套账号密码是独立的,都可以用到此教程。

from chinatelecommonitor.

LambdaExpression avatar LambdaExpression commented on July 26, 2024

其实之前用了很长一端时间它都是好的,也不知道什么时候就不正常显示了,也重新安装了。你看,以下三处数值是不一样的 : Snipaste_2022-08-26_15-49-28

Screenshot_20220826_154153

IMG_5183

这几张照片是同一个账号?

from chinatelecommonitor.

LambdaExpression avatar LambdaExpression commented on July 26, 2024

我还测试出来了一个事情,教程里面获取余量信息的叫做天翼账号,我用电信营业厅这个APP的这套账号密码也是可以获取到余量信息的,也就是说这两套账号密码是独立的,都可以用到此教程。

你的意思是你用了A手机号码的天翼账号和A手机号码的电信营业厅账号,均可通过 ChinaTelecomMonitor 获取到流量信息?

from chinatelecommonitor.

Mrvivi avatar Mrvivi commented on July 26, 2024

嗯,是的。我展示的三张照片是同一个手机账号的数据。对,就是同一个手机号码,用天翼账号的手机号码+密码以及用电信营业厅APP的手机号码+密码都可以在此教程里面获取到流量话费信息,可惜我获取到的都是不正确数据,跟实际数据不相符。而且小组件上面显示的最后更新时间也延迟严重,比如我12:51分执行命令启动程序,打开手机小组件,它显示最后更新时间是03:20,或者是其他时间,并不是跟现在时间非常接近的时间。

from chinatelecommonitor.

LambdaExpression avatar LambdaExpression commented on July 26, 2024
curl http://127.0.0.1:8081/show/flowPackage
curl http://127.0.0.1:8081/show/detail

应用中有两个完全返回电信数据的接口,本来是用于给有需求的用户进行二次开发时使用的。不用你也可以检查一下这个两个接口的数据中是否符合你的真实流量使用情况。不过这两个接口只是转发了一下电信的接口,我也没有找到对应的文档,所以参数阅读时需要自己联想一下。

关于时间的话,默认返回的时间是服务器时间,可能也需要检查一下服务器时间是否正常

from chinatelecommonitor.

LambdaExpression avatar LambdaExpression commented on July 26, 2024

请问还有其他问题吗?没有的话,我之后就先把问题关了

from chinatelecommonitor.

Mrvivi avatar Mrvivi commented on July 26, 2024

请问还有其他问题吗?没有的话,我之后就先把问题关了

我操作不成功,还是显示不正常,我不得已放弃了,虽然喜欢这个组件。关了吧,老板

from chinatelecommonitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.