mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-05 16:17:00 +08:00
修复导入获取数据下标不对
This commit is contained in:
@@ -29,6 +29,7 @@ func initRouter() *gin.Engine {
|
||||
// 初始化gin
|
||||
gin.SetMode(config.Config.GinMode)
|
||||
router := gin.New()
|
||||
router.MaxMultipartMemory = 8 << 20 // 8 MiB
|
||||
// 设置静态路径
|
||||
router.Static(config.Config.PublicPrefix, config.Config.UploadDirectory)
|
||||
|
||||
|
Reference in New Issue
Block a user