Type

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *ctx.Context)

@Summary 添加分类 @Tags 每日记账 @Accept json @Produce json @param payload body createParam true "request payload" @Success 200 {object} ctx.Response{data=db.BillType} @Router /bill/type [post]

func Delete

func Delete(c *ctx.Context)

@Summary 删除分类 @Tags 每日记账 @Accept json @Produce json @param payload body ctx.IDList true "request payload" @Success 200 {object} ctx.Response @Router /bill/type [delete]

func List

func List(c *ctx.Context)

@Summary 分类列表 @Tags 每日记账 @Accept json @Produce json @Param page query int false "page" @Param size query int false "size" @Param id[] query uint false "id" @Param created_at[] query string false "created_at" @Success 200 {object} ctx.Response{data=[]db.BillType} @Router /bill/type [get]

func Update

func Update(c *ctx.Context)

@Summary 更新分类 @Tags 每日记账 @Accept json @Produce json @param payload body updateParam true "request payload" @Success 200 {object} ctx.Response{data=db.BillType} @Router /bill/type [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

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