package global

import (
	"pure/api/global"

	"github.com/gin-gonic/gin"
)

func InitGlobalRouter(Router *gin.RouterGroup) {
	InOtherRouter := Router.Group("global")
	{
		InOtherRouter.GET("address", global.GetAddressList)   //获取收货地址
		InOtherRouter.POST("address", global.AddAddress)      //添加收货地址
		InOtherRouter.PUT("address", global.UpdateAddress)    //修改收货地址
		InOtherRouter.DELETE("address", global.DeleteAddress) //删除收货地址
		InOtherRouter.GET("usSelect", global.GetUsSelect)     //美国地区选择器
		InOtherRouter.GET("track", global.GetTrack)   //美国地区选择器
	}
}