|
@@ -1,9 +1,5 @@
|
|
package utils
|
|
package utils
|
|
|
|
|
|
-const (
|
|
|
|
- Md5Key = "Ks@h64WJ#tcVgG8$&WlNfqvLAtMgpxWN"
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
const (
|
|
const (
|
|
FormatTime = "15:04:05"
|
|
FormatTime = "15:04:05"
|
|
FormatDate = "2006-01-02"
|
|
FormatDate = "2006-01-02"
|
|
@@ -29,48 +25,10 @@ const (
|
|
RegularEmail = `\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*`
|
|
RegularEmail = `\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*`
|
|
)
|
|
)
|
|
|
|
|
|
-const (
|
|
|
|
- REGISTER_CODE = iota + 1
|
|
|
|
- LOGIN_CODE
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
-var (
|
|
|
|
- JhGnTplId = "65692"
|
|
|
|
- JhGjTplId = "10054"
|
|
|
|
-
|
|
|
|
- JhGnAppKey = "4c8504c49dd335e99cfd7b6a3a9e2415"
|
|
|
|
- JhGjAppKey = "3326ad2c1047a4cd92ace153e6044ca3"
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
-const (
|
|
|
|
- XfSTATUS_FIRST_FRAME = 0
|
|
|
|
- XfSTATUS_CONTINUE_FRAME = 1
|
|
|
|
- XfSTATUS_LAST_FRAME = 2
|
|
|
|
- XfAPPID = "5ed70e9d"
|
|
|
|
- XfAPIKey = "d580509ca262e9586fb65a7064d5ce77"
|
|
|
|
- XfAPISecret = "a085720dc55850c720fa5576335f847a"
|
|
|
|
- XfHostUrl = "wss://tts-api.xfyun.cn/v2/tts"
|
|
|
|
- XfOrigin = "http://tts-api.xfyun.cn/"
|
|
|
|
- XfHost = "tts-api.xfyun.cn"
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
-const (
|
|
|
|
- COMPANY_STATUS_TRY_OUT = "试用"
|
|
|
|
- COMPANY_STATUS_FOREVER = "永续"
|
|
|
|
- COMPANY_STATUS_FREEZE = "冻结"
|
|
|
|
- COMPANY_STATUS_LOSE = "流失"
|
|
|
|
- COMPANY_STATUS_FORMAL = "正式"
|
|
|
|
- COMPANY_STATUS_POTENTIAL = "潜在"
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
const (
|
|
const (
|
|
CACHE_KEY_USER_VIEW = "user_view_record"
|
|
CACHE_KEY_USER_VIEW = "user_view_record"
|
|
)
|
|
)
|
|
|
|
|
|
-const (
|
|
|
|
- key = "KcSJaJoUBC2ZAA7HEWpaiH49"
|
|
|
|
-)
|
|
|
|
-
|
|
|
|
const (
|
|
const (
|
|
CACHE_CREATE_REPORT_IMGPDF_QUEUE = "eta_report:report_img_pdf_queue"
|
|
CACHE_CREATE_REPORT_IMGPDF_QUEUE = "eta_report:report_img_pdf_queue"
|
|
)
|
|
)
|