You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package hdl
-
- import (
- "applet/app/svc"
- "github.com/gin-gonic/gin"
- )
-
- // Advertising
- // @Summary 广告位
- // @Tags 广告位
- // @Description 广告位
- // @Accept json
- // @Produce json
- // @param Authorization header string true "验证参数Bearer和token空格拼接"
- // @Success 200 {object} md.AdvertisingResp "具体数据"
- // @Failure 400 {object} md.Response "具体错误"
- // @Router /api/v1/advertising [get]
- func Advertising(c *gin.Context) {
- svc.Advertising(c)
- }
-
- // AdvertisingDetail
- // @Summary 广告位详情
- // @Tags 广告位详情
- // @Description 广告位详情
- // @Accept json
- // @Produce json
- // @param Authorization header string true "验证参数Bearer和token空格拼接"
- // @Param req body md.AdvertisingReq true "注册参数"
- // @Success 200 {object} md.AdvertisingSpace "具体数据"
- // @Failure 400 {object} md.Response "具体错误"
- // @Router /api/v1/advertising/detail [post]
- func AdvertisingDetail(c *gin.Context) {
- svc.AdvertisingDetail(c)
- }
|