You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
846 B
23 lines
846 B
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) //获取地址上报人员地理位置列表
|
|
}
|
|
}
|
|
|