temp
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
_ "tyapi-server/docs" // docs is generated by Swag CLI, you have to import it.
|
||||
"tyapi-server/internal/app"
|
||||
@@ -38,6 +39,9 @@ var (
|
||||
)
|
||||
|
||||
func main() {
|
||||
// 设置时区为北京时间
|
||||
time.Local = time.FixedZone("CST", 8*3600)
|
||||
|
||||
// 命令行参数
|
||||
var (
|
||||
showVersion = flag.Bool("version", false, "显示版本信息")
|
||||
|
||||
Reference in New Issue
Block a user