Code Monkey home page Code Monkey logo

cloudgatewaydoc's Introduction

瑞通CRS网关接口。

简介

  1. 基于瑞通PMS系统,提供网关接口服务.
  2. 云端+本地部署模式.

调用规范

  1. 调用机制: 同步调用+异步通知.
  2. 序列化方式: JSON.
  3. 字符编码: UTF-8.
  4. 时间格式: yyyy-MM-dd HH:mm:ss(特例单独指出).
  5. 调用地址: ${api_domain}/${gateWay}/${action}

鉴权模式(appId单选)

  1. appId+appSecret: 适用于本地对接模式,一次性授权.
  2. appId+sign: 签名,一次性授权.
  3. appId+sign+appToken: 签名,临时授权.

公共请求参数

字段名称 字段描述 类型 允许为空 长度 说明
appId 唯一标识号 string N 需申请开通
appSecret 密钥 string 可选鉴权模式
timestamp 时间戳 long 单位毫秒,时钟校验
appToken 临时令牌 string 可选鉴权模式
sign 签名 string md5(appId+appSecret+timestamp)
groupId 集团ID string N 组织机构代码,单店时=hotelId
hotelId 分店ID string N 需申请开通,系统唯一标识商家身份

公共响应参数

字段名称 字段描述 类型 允许为空 长度 说明
state 调用状态 string N success/fail
code 错误码 int
msg 错误说明 string
技术支持
  • 北京昆仑瑞祺科技发展有限公司
  • 010-62357019转119

cloudgatewaydoc's People

Contributors

eastreach avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.