1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package utils
- const (
- Md5Key = "Ks@h64WJ#tcVgG8$&WlNfqvLAtMgpxWN"
- )
- const (
- FormatTime = "15:04:05"
- FormatDate = "2006-01-02"
- FormatDateTime = "2006-01-02 15:04:05"
- HlbFormatDateTime = "2006-01-02_15:04:05.999"
- FormatDateTimeNoSecond = "2006-01-02 15:04"
- FormatDateTimeUnSpace = "20060102150405"
- PageSize15 = 15
- PageSize5 = 5
- PageSize10 = 10
- PageSize20 = 20
- PageSize30 = 30
- )
- const (
- APPNAME = "弘则-查研观向"
- EmailSendToUsers = "glji@hzinsights.com;pyan@hzinsights.com;cxzhang@hzinsights.com"
- EmailSendToExpert = "cxzhang@hzinsights.com"
- )
- 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}$"
- RegularFixedTelephone = "^(\\(\\d{3,4}\\)|\\d{3,4}-|\\s)?\\d{7,14}$"
- RegularFixedTelephoneEasy = "^[0-9\\-]+$"
- RegularEmail = `\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*`
- )
- var (
- JhGnTplId = "65692"
- JhGjTplId = "10054"
- JhGnAppKey = "4c8504c49dd335e99cfd7b6a3a9e2415"
- JhGjAppKey = "3326ad2c1047a4cd92ace153e6044ca3"
- )
- var (
- Endpoint string = "oss-cn-shanghai.aliyuncs.com"
- Bucketname string = "hongze"
- Imghost string = "https://hongze.oss-cn-shanghai.aliyuncs.com/"
- Upload_dir string = "static/images/"
- Upload_Audio_Dir string = "static/audio/"
- Upload_Pdf_Dir string = "static/pdf/"
- AccessKeyId string = "LTAIFMZYQhS2BTvW"
- AccessKeySecret string = "12kk1ptCHoGWedhBnKRVW5hRJzq9Fq"
- )
- const (
- CACHE_KEY_USER_VIEW = "user_view_record"
- )
|