Git Product home page Git Product logo

Comments (2)

ggymm avatar ggymm commented on September 24, 2024 1

关键代码

获取图表数据方法

定义接口,各个图表处理数据的方法是具体的实现类
前端统一调用,传入图表类型。后端方法根据图表类型找到对应的实现类进行数据处理操作

更新图表大屏

记录当前版本号,每次更新都将版本号加一后执行新增操作,同时更新最新版本号
此处要注意相关操作要放在同一个事务中,执行后统一提交

from data-view.

ggymm avatar ggymm commented on September 24, 2024

主要文件夹

  1. handler相当于spring中的controller层,负责处理前端接口请求和返回数据
  2. schema定义前后台交互的数据结构
  3. model目录负责从数据库中查询数据进行业务处理
  4. database维护数据库连接对象

其他文件夹

  1. config负责配置文件读取
  2. middleware是中间价拦截器,负责用户登录拦截和处理跨域请求等
  3. logger目录是日志配置

from data-view.

Related Issues (3)

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.