Git Product home page Git Product logo

ucarjava's Introduction

UcarJava

基于神州专车开放平台的SDK

使用SDK

// spring boot, inject oauth2Service
TokenResult result = this.oauth2Service.clientToken();

Maven 引用方式

<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>ucar-java-oauth2</artifactId>
    <version>1.0.0</version>
</dependency>

捐助 donate

支付宝 微信

ucar接口说明

测试环境域名
名称	域名
授权认证	https://sandboxoauth.10101111.com
API	https://sandboxapi.10101111.com
正式环境域名
名称	域名
授权认证	https://oauth.10101111.com
API	https://openapi.10101111.com

订单推送接口说明

订单状态发生变化时,神州服务器会主动请求用户配置的订单状态变化回调url。目前回调状态有两个版本,于2017年9月15号及以后创建的应用都是V2版本回调,之前的应用都是V1版本的回调。如果想由V1切到V2版本回调,可以联系神州工作人员。 注意:回调状态与订单状态不完全一致。收到回调状态后,再通过订单详情接口获取订单详细信息,来完成您的业务操作

回调数据
https://你的订单变化回调url?q={"content":{"status":"compleled",
    "orderId":"6265131711686377123","eventExplanation":"","dOrderId":"123"},"operation":"statusChanged"}
回调数据说明
参数名称	类型	可选	说明
status	string	否	订单回调状态
orderId	string	否	订单ID
operation	string	否	固定值statusChanged
eventExplanation	string	是	对事件的解释说明,例如为何取消,无效,调账等
dOrderId	string	是	渠道订单id,当创建订单的请求参数customData中有传dOrderId时才返回

ucarjava's People

Contributors

zhangchunsheng 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.