|
|
@ -21,5 +21,7 @@ func adminRouteInit(r *gin.Engine) {
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/get-orders", result.Json(manage.GetOrders))
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/get-orders", result.Json(manage.GetOrders))
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/get-order", result.Json(manage.GetOrder))
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/get-order", result.Json(manage.GetOrder))
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/download-orders", manage.DownloadOrders)
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/download-orders", manage.DownloadOrders)
|
|
|
|
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/get-infos", result.Json(manage.GetInfos))
|
|
|
|
|
|
|
|
authGroup.Match([]string{"GET", "OPTIONS"}, "/download-infos", manage.DownloadInfos)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|