Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillApi ¶
type BillApi struct{}
func (*BillApi) CreateBill ¶
@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 ¶
@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 ¶
@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 ¶
@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 ¶
@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]