command
module
Version:
v0.0.0-...-66b41b3
Opens a new window with list of versions in this module.
Published: Mar 22, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
lite-bookkeeping-go
Frontend project lite-bookkeeping-fe
user
注册用户
基本信息
Path: /user/register
Method: POST
接口描述:
请求参数
Headers
参数名称 |
参数值 |
是否必须 |
示例 |
备注 |
Content-Type |
application/json |
是 |
|
|
Body |
|
|
|
|
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
name | string | 必须 | | | |
password | string | 必须 | | | |
email | string | 必须 | | | |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
code | number | 必须 | | | |
data | object | 必须 | | | |
├─ id | number | 必须 | | | |
message | string | 必须 | | | |
登录
基本信息
Path: /user/login
Method: POST
接口描述:
请求参数
Headers
参数名称 |
参数值 |
是否必须 |
示例 |
备注 |
Content-Type |
application/json |
是 |
|
|
Body |
|
|
|
|
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
name | string | 必须 | | | |
password | string | 必须 | | | |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
code | number | 必须 | | | |
data | object | 必须 | | | |
├─ email | string | 必须 | | | |
├─ id | number | 必须 | | | |
├─ mobile | string | 必须 | | | |
├─ name | string | 必须 | | | |
├─ token | string | 必须 | | | |
message | string | 必须 | | | |
bill-account
获取账单账户列表
基本信息
Path: /bill-accounts
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
code | number | 必须 | | | |
data | object [] | 必须 | | | item 类型: object |
├─ id | number | 必须 | | | |
├─ billAccountTypeCode | number | 必须 | | | |
├─ name | string | 必须 | | | |
├─ amount | number | 必须 | | | |
├─ remarks | string | 非必须 | | | |
message | string | 必须 | | | |
bill-tag
获取账单标签列表
基本信息
Path: /bill-tags
Method: GET
接口描述:
请求参数
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
code | number | 必须 | | | |
data | object [] | 必须 | | | item 类型: object |
├─ id | number | 必须 | | | |
├─ billTypeCode | number | 必须 | | | |
├─ name | string | 必须 | | | |
├─ icon | string | 非必须 | | | |
message | string | 必须 | | | |
bill
添加记账记录
基本信息
Path: /bill
Method: POST
接口描述:
请求参数
Headers
参数名称 |
参数值 |
是否必须 |
示例 |
备注 |
Content-Type |
application/json |
是 |
|
|
Body |
|
|
|
|
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
actionTime | string | 必须 | | | |
billAccountId | integer | 必须 | | | |
billTagId | integer | 必须 | | | |
amount | integer | 必须 | | | |
remarks | string | 非必须 | | | |
isIgnore | boolean | 非必须 | | | |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
code | number | 必须 | | | |
data | number | 必须 | | | |
message | string | 必须 | | | |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.