YouChuKoffee/app/http/controllers/front/VoucherController.go

13 lines
222 B
Go

package front
import (
"github.com/gin-gonic/gin"
"qteam/app/http/controllers"
"qteam/app/services"
)
func VoucherList(c *gin.Context) {
code, data := services.VoucherList()
controllers.HandCodeRes(c, data, code)
}