Coder Social home page Coder Social logo

hlht's Introduction

文件说明

互联互通

  • 这个目录都是互联互通的标准文档信息
  • go, java, python的加密解密代码demo
  • 对接过程的一些资料

互联互通协议补充

  • 充电网-数联云商小车对接接口规范

对接说明

第三方对接需要提准备的东西

  • 给到获取token的密钥
  • 给到9位的组织机构代码
  • 给到加密向量值(16位)
  • 给到加密的私钥(16位)
  • 给到签名的签名用的密钥(16位)
  • 给到可以外网访问的回调地址(http url)

充电网php测试环境的配置信息

  • 充电网的组织结构代码:398496746
  • 其他所有的向量,私钥,密钥都是:1234567890abcdef(注意:这里是他们请求我们接口地址用到的,不是请求他们, 可能会要改动)
  • 测试服务器请求地址:http://test.platform.chargerlink.com/evcs/v20160701/

互联互通请求的签名方式

  • 请求的内容拼接顺序: OperatorID + Data + TimeStamp + Seq
  • 比如请求的内容如下: OperatorID = 1111, Data="aaaa", TimeStamp=20170508111111, Seq=0001
  • 那么签名的string是: 1111aaaa201705081111110001

互联互通响应的签名方式

  • 响应的内容拼接顺序: ret + msg + data

  • 比如响应的内容如下: ret = 0, msg="1", data="abc"

  • 那么签名的string是: 01abc



DEBUG FOR japy

hlht's People

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.