banner

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBanner

func GetBanner(id string) (res schema.Response)

func GetBannerList

func GetBannerList(c helper.Context, q Query) (res schema.List)

func GetBannerListRouter

func GetBannerListRouter(c *gin.Context)

func GetBannerRouter

func GetBannerRouter(c *gin.Context)

Types

type Query

type Query struct {
	schema.Query
	Platform *model.BannerPlatform `json:"platform" form:"platform"` // 根据平台筛选
	Active   *bool                 `json:"active" form:"active"`     // 是否激活
}

Jump to

Keyboard shortcuts

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