Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

xuzhenhao / rlw-dev

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • rlw-dev
  • icesimba.ad
  • router.go
  • chencheng's avatar
    "初始化提交" · 6e3f6187
    chencheng committed Dec 08, 2017
    6e3f6187
router.go 254 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
package main

import (
	. "client/icesimba.ad/apis"

	"github.com/gin-gonic/gin"
)

func initRouter() *gin.Engine {
	router := gin.Default()
	router.GET("/ad/position/query", QueryAdMaterialApi)
	router.POST("/ad/event", PostAdEventApi)
	return router
}