package publichandel import ( public "gin_server_admin/api/publichandle" "github.com/gin-gonic/gin" ) type Geography struct{} func (s *Geography) InitRouter(Router *gin.RouterGroup) { CodeRouter := Router.Group("geography") var authorityApi = public.ApiGroupApp.GeographyApi.GeographyUnknown { CodeRouter.POST("", authorityApi.Index) // 入口 CodeRouter.POST("/", authorityApi.Index) CodeRouter.GET("", authorityApi.Index) CodeRouter.GET("/", authorityApi.Index) CodeRouter.POST("locationuserlist", authorityApi.LocationUserList) //获取地址上报人员列表 CodeRouter.POST("locationuserlistall", authorityApi.LocationUserListAll) //获取地址上报人员列表所有 CodeRouter.POST("getlocationuseraddress", authorityApi.GetLocationUserAddress) //获取地址上报人员地理位置列表 } }