bygo

command module
v0.0.0-...-3b54ddd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

bygo

{% api-method method="get" host="https://123.com" path="/v1/user" %} {% api-method-summary %} 获取用户信息 {% endapi-method-summary %}

{% api-method-description %} 获取用户信息 {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="id" type="number" required=false %} 用户id {% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "id": 1,
    "name": "bysir"
}

{% endapi-method-response-example %}

{% api-method-response-example httpCode=500 %} {% api-method-response-example-description %}

{% endapi-method-response-example-description %}

{
    "code": 2000,
    "msg": "服务器错误"
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
sms
mp
tp
获取授权方的帐号基本信息 - 公众号 - 小程序
获取授权方的帐号基本信息 - 公众号 - 小程序
wxa

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL