sms_coupon

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {

	// Create 添加优惠券
	// @Tags SmsCouponController
	// @Router /coupon [post]
	Create(*gin.Context)

	// Update 修改优惠券
	// @Tags SmsCouponController
	// @Router /coupon/update/{id} [post]
	Update(*gin.Context)

	// Delete 删除优惠券
	// @Tags SmsCouponController
	// @Router /coupon/delete/{id} [post]
	Delete(*gin.Context)

	// List 根据优惠券名称和类型分页获取优惠券列表
	// @Tags SmsCouponController
	// @Router /coupon/list [get]
	List(*gin.Context)

	// GetItem 获取单个优惠券的详细信息
	// @Tags SmsCouponController
	// @Router /coupon/{id} [get]
	GetItem(*gin.Context)
	// contains filtered or unexported methods
}

func New

func New() Handler

Jump to

Keyboard shortcuts

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