1
This commit is contained in:
parent
79bd53cc80
commit
8cbcefaa39
@ -317,7 +317,7 @@ func (r *Video) AddVideo(c *gin.Context) {
|
||||
}
|
||||
|
||||
// 生成视频编号
|
||||
video.VideoNumber = fmt.Sprintf("%d", 2000+total+1)
|
||||
video.VideoNumber = fmt.Sprintf("%03d", total+1)
|
||||
|
||||
video, err = videoDao.AddVideo(tx, video)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user