Giter Site home page Giter Site logo

smart-env's Introduction

智慧环卫应用后台

工程结构

smartenv-app-platform
├── blade-common -- 框架全局配置
├── smartenv-common -- 工程全局常量,工具类等
├── smartenv-datascope -- 接口权限管理
├── smartenv-gateway -- API网关(80)
├── smartenv-auth -- 授权管理(8100)
├── smartenv-alarm -- 告警管理(8101)
├── smartenv-user -- 操作员管理(8102)
├── smartenv-log -- 日志管理(8103)
├── smartenv-statistic -- 统计分析(8104)
├── smartenv-inventory -- 库存管理(8105)
├── smartenv-system -- 系统管理(8106)
├    ├── smartenv-system-api -- 系统管理API 
├    ├── smartenv-system-servie -- 系统管理业务实现 
├── smartenv-event -- 事件管理(8107)
├── smartenv-device -- 设备(传感器)管理(8108)
├── smartenv-workarea -- 工作区域管理(8109)
├── smartenv-facility -- 设施管理(8110)
├── smartenv-oss -- 分布式对象存储(8111)
├── smartenv-assessment -- 考核管理(8112)
├── smartenv-omnic -- 集成域(8113)
├── smartenv-person -- 人员管理(8114)
├── smartenv-arrange -- 排班管理(8115)
├── smartenv-vehicle -- 车辆管理(8116)
├── smartenv-cache -- 缓存管理(8118)
├── smartenv-websocket -- Websocket(8117)
├── smartenv-job -- Job(8122)
├── smartenv-wechat -- wechat(8123)
├── smartenv-pushc -- pushc(8124)
└── smartenv-flow -- 流程引擎(8120)

相关文档

RESTFUL规范

除了框架原有的功能外,我们的业务功能开发时不要在请求URL中加上具体的动作,如save、update、delete,而是使用HTTP METHOD来区分,示例如下

http://127.0.0.1/user/1 GET  根据用户id查询用户数据
http://127.0.0.1/user?userId=1&status=1  GET 根据多种条件查询用户数据
http://127.0.0.1/user?userId=1&status=1&current=1&size=10  GET 根据多种条件分页查询用户数据
http://127.0.0.1/user  POST 新增用户
http://127.0.0.1/user  PUT 修改用户信息
http://127.0.0.1/user  DELETE 删除用户信息

restful

HTTP相应状态码

httpcode

环境信息

开发环境

  • mysql:
 datasource:
   dev:
     # MySql
     url: jdbc:mysql://10.21.33.235:3306/smartenv?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
     username: root
     password: 123456
   log:
     dev:
       # MySql
       url: jdbc:mysql://10.21.33.235:3306/smartenv_log?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
       username: root
       password: 123456
  • DB
 mongodb:
      host: 10.21.33.235
      port: 27017
      database: smartenv
      password:
      user:

生产环境

 datasource:
   dev:
     # MySql
     url: jdbc:mysql://39.98.127.65:31306/smartenv?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
     username: smartenv
     password: smartenv@123

smart-env's People

Contributors

finnyu888 avatar

Stargazers

 avatar

Watchers

 avatar

smart-env's Issues

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.