Giter Club home page Giter Club logo

goyht's Introduction

goyht

Golang SDK for YunHeTong,详细API文档,请阅读Documentation

一. 用户相关接口

1. 导入用户信息

func (*Client) AddUser

对接第一步导入用户信息。

2. 获取用户登录凭证token

func (*Client) UserToken

获取用户登录凭证,除了导入用户和获取用户登录凭证这个两个接口外,其他所有的接口地址后都要跟token参数。

3. 修改用户手机号

func (*Client) ModifyPhoneNumber

用户信息变更后,可以调用该接口修改导入到云合同SDK系统中的数据;地址中的token是获取token接口返回的内容。

4. 修改用户名

func (*Client) ModifyUserName

用户信息变更后,可以调用该接口修改导入到云合同SDK系统中的数据;地址中的token是获取token接口返回的内容。

二. 合同接口

1. 根据模板生成合同

func (*Client) CreateTemplateContract

根据模版生成合同,功能有:将固定格式字符串替换成指定内容、将固定字符串替换成图片、简单表格操作。

2. 上传文件生成合同

func (*Client) CreateFileContract

上传文件生成合同。

3. 添加参与者

func (*Client) AddPartner

合同创建人才能添加参与者且创建人必须是参与者。

4. 合同自动签署

func (*Client) SignContract

对接平台方有时需要对某些合同实现自动签署,使用此接口完成自动签署功能,调用者token必须为平台用户。

5. 合同作废

func (*Client) InvalidateContract

合同参与者才能作废。

6. 合同列表

func (*Client) ListContracts

平台用户才能获取合同列表,返回该应用下已完成、已作废的合同。

7. 合同签署状态详情

func (*Client) LookupContractDetail

平台及参与用户均可查看。

8. 合同下载

func (*Client) DownloadContract

平台及参与用户均可下载。

goyht's People

Contributors

leesper avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

iotdog

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.