sstyle: UDM数据导出路径拼接
This commit is contained in:
1 parent
88485221a0
commit
4170093610
3 files changed
+4
-4
No files matched your search
@@ -381,7 +381,7 @@ func (s *UDMAuthController) Export(c *gin.Context) {
|
||||
|
||||
// 文件名
|
||||
fileName := fmt.Sprintf("udm_auth_user_export_%s_%d.%s", neId, time.Now().UnixMilli(), fileType)
|
||||
filePath := fmt.Sprintf("%s/%s", file.ParseUploadFileDir(uploadsubpath.EXPORT), fileName)
|
||||
filePath := filepath.Join(file.ParseUploadFileDir(uploadsubpath.EXPORT), fileName)
|
||||
|
||||
if fileType == "csv" {
|
||||
// 转换数据
|
||||
|
||||
Reference in new issue
Block a user