25 lines
564 B
Go
25 lines
564 B
Go
package model
|
|
|
|
const (
|
|
HttpType = "http://"
|
|
HttpsType = "https://"
|
|
TmpArtworkDir = "./runtime/tmp/artworks"
|
|
TmpArtistDir = "./runtime/tmp/artists"
|
|
MediaPath = "./runtime/"
|
|
TplPath = "./data/"
|
|
ImgActionRotate = "rotate" //旋转
|
|
ImgActionRotate270 = "rotate270" //旋转
|
|
MediaTypeVideo = "video"
|
|
MediaTypeImage = "video"
|
|
)
|
|
|
|
const (
|
|
DateTimeFormat = "2006-01-02 15:04:05"
|
|
DateFormat = "2006-01-02"
|
|
)
|
|
|
|
type RespSendIndexes struct {
|
|
Code int `json:"code"`
|
|
Msg string `json:"msg"`
|
|
}
|