12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package utils
- const (
- FormatTime = "15:04:05"
- FormatDate = "2006-01-02"
- FormatDateCN = "2006年01月02日"
- FormatDateUnSpace = "20060102"
- FormatDateTime = "2006-01-02 15:04:05"
- HlbFormatDateTime = "2006-01-02_15:04:05.999"
- FormatDateTimeUnSpace = "20060102150405"
- PageSize15 = 15
- PageSize5 = 5
- PageSize10 = 10
- PageSize20 = 20
- PageSize30 = 30
- )
- const (
- RegularMobile = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(18[0-9])|(17[0-9])|(16[0-9])|(19[0-9]))\\d{8}$"
- RegularEmail = `\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*`
- )
- const (
- APPNAME = "弘则人力资源管理系统"
- EmailSendToUsers = "317699326@qq.com;984198890@qq.com;hsun@hzinsights.com;xyxie@hzinsights.com"
- )
- const (
- RcrtProcessStatusWaitFirstResult = 0
- RcrtProcessStatusWaitSecondResult = 1
- RcrtProcessStatusWaitThirdResult = 2
- RcrtProcessStatusOut = 3
- RcrtProcessStatusWPass = 4
- )
- const DefaultPwd = "9cbf8a4dcb8e30682b927f352d6559a0"
- const (
- HRSYSTEM_LOGIN_TOKEN = "hrSystem:login:token:"
- HRSYSTEM_LOGIN_TOKEN_NO_TRUST = "hrSystem:login:no_trust:"
- HRSYSTEM_LOGIN_ADMINID_IP = "hrSystem:login:admin_id:"
- )
|