feat: 国际化模拟测试接口

This commit is contained in:
TsMask committed 2023-11-10 18:09:37 +08:00
1 parent 30f1776fe7
commit 224efff227
2 files changed
+29 -2

No files matched your search

+2 -1
View File
@@ -73,7 +73,8 @@ func Setup(router *gin.Engine) {
// 通用请求
commonGroup := router.Group("/common")
{
commonGroup.GET("/hash", middleware.PreAuthorize(nil), controller.NewCommont.Hash)
commonGroup.POST("/hash", middleware.PreAuthorize(nil), controller.NewCommont.Hash)
commonGroup.GET("/i18n", controller.NewCommont.I18n)
}
// 文件操作处理