Browse Source

Merge branch 'master' of https://code.fnuoos.com/EggPlanet/egg_app

adv_callback
shenjiachi 2 weeks ago
parent
commit
9ac8606e6c
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      app/router/router.go

+ 5
- 5
app/router/router.go View File

@@ -88,6 +88,11 @@ func route(r *gin.RouterGroup) {
rCircleFriends(r.Group("/circleFriends")) rCircleFriends(r.Group("/circleFriends"))
rComm(r.Group("/comm")) rComm(r.Group("/comm"))


rAdvertising := r.Group("/advertising") //广告
{
rAdvertising.POST("/check", hdl.AdvertisingCheck) //广告位判断能不能看
rAdvertising.POST("/state", hdl.AdvertisingState) //广告位状态
}
rHomePage := r.Group("/homePage") rHomePage := r.Group("/homePage")
{ {
rHomePage.GET("/index", hdl.HomePage) // 主页 rHomePage.GET("/index", hdl.HomePage) // 主页
@@ -202,11 +207,6 @@ func rCircleFriends(r *gin.RouterGroup) {
} }


func rComm(r *gin.RouterGroup) { func rComm(r *gin.RouterGroup) {
rCommAdvertising := r.Group("/advertising")
{
rCommAdvertising.POST("/advertising/check", hdl.AdvertisingCheck) //广告位判断能不能看
rCommAdvertising.POST("/advertising/state", hdl.AdvertisingState) //广告位状态
}


r.POST("/getOssUrl", comm.GetOssUrl) // 获取阿里云上传PutObject所需的签名URL r.POST("/getOssUrl", comm.GetOssUrl) // 获取阿里云上传PutObject所需的签名URL
r.GET("/accessRecords", comm.AccessRecords) // 访问记录 r.GET("/accessRecords", comm.AccessRecords) // 访问记录


Loading…
Cancel
Save