22 lines
322 B
Go
22 lines
322 B
Go
package app
|
|
|
|
import (
|
|
. "../../../hotime"
|
|
. "../../../hotime/common"
|
|
)
|
|
|
|
// Project 管理端项目
|
|
var Project = Proj{
|
|
//"user": UserCtr,
|
|
"analyse": analyseCtr,
|
|
}
|
|
|
|
//生成随机码的4位随机数
|
|
func getCode() string {
|
|
//res := ""
|
|
//for i := 0; i < 4; i++ {
|
|
res := ObjToStr(RandX(1000, 9999))
|
|
//}
|
|
return res
|
|
}
|