2021-08-28 05:06:00 +00:00
|
|
|
package app
|
|
|
|
|
|
|
|
import (
|
|
|
|
. "../../../hotime"
|
|
|
|
. "../../../hotime/common"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Project 管理端项目
|
|
|
|
var Project = Proj{
|
|
|
|
//"user": UserCtr,
|
2021-12-11 09:59:02 +00:00
|
|
|
"product_spot_check": product_spot_checkCtr,
|
|
|
|
"product": productCtr,
|
|
|
|
"admin": adminCtr,
|
|
|
|
"sms": Sms,
|
|
|
|
"material": materialCtr,
|
|
|
|
"material_inout": material_inoutCtr,
|
2021-08-28 05:06:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//生成随机码的4位随机数
|
|
|
|
func getCode() string {
|
|
|
|
//res := ""
|
|
|
|
//for i := 0; i < 4; i++ {
|
|
|
|
res := ObjToStr(RandX(1000, 9999))
|
|
|
|
//}
|
|
|
|
return res
|
|
|
|
}
|