bill

package
v0.0.0-...-01c5a3f Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGroup

type ApiGroup struct {
	BillApi
}

type BillApi

type BillApi struct{}

func (*BillApi) CreateBill

func (a *BillApi) CreateBill(c *gin.Context)

@Tags Bill账单 @Summary 新增账单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body bill.Bill true "请求" @Success 200 {object} response.Response{data=bill.Bill} "响应" @Router /bill/createBill [post]

func (*BillApi) GetAllBills

func (a *BillApi) GetAllBills(c *gin.Context)

@Tags Bill账单 @Summary 查询全部账单列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query bill.BillRequest true "请求" @Success 200 {object} response.Response{data[]bill.Bill} "响应" @Router /bill/getAllBills [get]

func (*BillApi) GetBill

func (a *BillApi) GetBill(c *gin.Context)

@Tags Bill账单 @Summary 查询账单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=bill.Bill} "响应" @Router /bill/getBill [get]

func (*BillApi) GetBills

func (a *BillApi) GetBills(c *gin.Context)

@Tags Bill账单 @Summary 查询账单列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query bill.BillRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]bill.Bill}} "响应" @Router /bill/getBills [get]

func (*BillApi) UpdateBill

func (a *BillApi) UpdateBill(c *gin.Context)

@Tags Bill账单 @Summary 修改账单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body bill.Bill true "请求" @Success 200 {object} response.Response{data=bill.Bill} "响应" @Router /bill/updateBill [put]

Jump to

Keyboard shortcuts

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