Commit 8374d886 authored by hujiebin's avatar hujiebin

区分H5和app接口

parent 889dba1e
...@@ -127,7 +127,10 @@ func InitRouter() *gin.Engine { ...@@ -127,7 +127,10 @@ func InitRouter() *gin.Engine {
groupPower.GET("/billboard/owner/week", wrapper(group_power_r.GroupPowerBillboardOwnerWeek)) groupPower.GET("/billboard/owner/week", wrapper(group_power_r.GroupPowerBillboardOwnerWeek))
groupPower.GET("/rank/:period", wrapper(group_power_r.GroupPowerRank)) groupPower.GET("/rank/:period", wrapper(group_power_r.GroupPowerRank))
groupPower.GET("/star", wrapper(group_power_r.GroupPowerStar)) groupPower.GET("/star", wrapper(group_power_r.GroupPowerStar))
groupPower.GET("/grade/detail", wrapper(group_power_r.GroupPowerGradeDetail)) }
h5GroupPower := v1.Group("/h5/groupPower")
{
h5GroupPower.GET("/grade/detail", wrapper(group_power_r.GroupPowerGradeDetail))
} }
// 内部接口 // 内部接口
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment