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.
24 lines
876 B
24 lines
876 B
|
4 years ago
|
package publichandel
|
||
|
|
|
||
|
|
import (
|
||
|
|
public "github.com/flipped-aurora/gin-vue-admin/server/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) //获取地址上报人员地理位置列表
|
||
|
|
}
|
||
|
|
}
|