Fix a lot of details.

This commit is contained in:
zicla
2018-01-01 17:44:25 +08:00
parent 8e5a85322e
commit 3cc4521882
4 changed files with 15 additions and 10 deletions

View File

@ -5,6 +5,8 @@ import (
"regexp"
"strconv"
"strings"
"time"
"fmt"
)
type MatterController struct {
@ -213,7 +215,7 @@ func (this *MatterController) Upload(writer http.ResponseWriter, request *http.R
alien = true
//如果是应用文件的话,统一放在同一个地方。
puuid = this.matterService.GetDirUuid(userUuid, "/应用数据")
puuid = this.matterService.GetDirUuid(userUuid, fmt.Sprintf("/应用数据/%s", time.Now().Local().Format("20060102150405")))
} else {
puuid = request.FormValue("puuid")