12345678910 |
- package api
- import "github.com/gin-gonic/gin"
- func InitGinRouter(r *gin.Engine) {
- session := r.Group("cock/api/", CheckSession)
- session.POST("diamond/change", changeDiamond)
- session.POST("diamond/get", getDiamond)
- r.POST("cock/auth", auth)
- }
|