account

command
v0.0.0-...-0bbac7a Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

README

account

Command account is the tp-micro service project.
The framework reference: https://github.com/xiaoenai/tp-micro

API Desc

V1_User_Set

增加用户

  • URI: /account/v1/user/set

  • REQ-QUERY:

  • REQ-BODY:

    {
    	"name": ""	// {string} 
    }
    
  • RESULT:

V1_User_GetById

根据ID获取user

  • URI: /account/v1/user/get_by_id

  • REQ-QUERY:

  • REQ-BODY:

    {
    	"id": -0	// {int64} 
    }
    
  • RESULT:

    {
    	"id": -0,	// {int64} 
    	"name": "",	// {string} 
    	"updated_at": -0,	// {int64} 
    	"created_at": -0,	// {int64} 
    	"deleted_ts": -0	// {int64} 
    }
    

This is a project created by micro gen command.

About Micro Command

Error List

Code Message(输出时 Msg 将会被转为 JSON string)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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