|
@@ -19,141 +19,6 @@ const (
|
|
|
)
|
|
|
|
|
|
const (
|
|
|
- APPNAME = "弘则-日度点评-管理后台"
|
|
|
+ APPNAME = "弘则-短信机器人"
|
|
|
EmailSendToUsers = "glji@hzinsights.com;pyan@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}$"
|
|
|
- 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"
|
|
|
- XfMaxFontSize = 8000
|
|
|
- XfVcn = "x2_chaoge"
|
|
|
-)
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- Endpoint string = "oss-cn-shanghai.aliyuncs.com"
|
|
|
- Bucketname string = "hongze"
|
|
|
-
|
|
|
- Imghost string = "http://hongze.oss-cn-shanghai.aliyuncs.com/"
|
|
|
- Upload_dir string = "static/images/"
|
|
|
- Upload_Audio_Dir string = "static/audio/"
|
|
|
-
|
|
|
- AccessKeyId string = "LTAIFMZYQhS2BTvW"
|
|
|
- AccessKeySecret string = "12kk1ptCHoGWedhBnKRVW5hRJzq9Fq"
|
|
|
-)
|
|
|
-*/
|
|
|
-
|
|
|
-
|
|
|
-const (
|
|
|
- BdAppID = "23047694"
|
|
|
- BdApiKey = "RlisEen1Imd8haXx5Tqirstd"
|
|
|
- BdSecretKey = "tT75bhMW5UlmoA0flyQsjgurZzSWfuB9"
|
|
|
-)
|
|
|
-
|
|
|
-
|
|
|
-const (
|
|
|
- COMPANY_STATUS_TRY_OUT = "试用"
|
|
|
- COMPANY_STATUS_FOREVER = "永续"
|
|
|
- COMPANY_STATUS_FREEZE = "冻结"
|
|
|
- COMPANY_STATUS_LOSE = "流失"
|
|
|
- COMPANY_STATUS_FORMAL = "正式"
|
|
|
- COMPANY_STATUS_POTENTIAL = "潜在"
|
|
|
- COMPANY_STATUS_TRY_OUT_COUNT = 30
|
|
|
-
|
|
|
- COMPANY_APPROVE_STATUS = "待审批"
|
|
|
-)
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-const (
|
|
|
- ROLE_TYPE_ADMIN = "管理员"
|
|
|
- ROLE_TYPE_FICC_ADMIN = "ficc管理员"
|
|
|
- ROLE_TYPE_FICC_SELLER = "ficc销售"
|
|
|
- ROLE_TYPE_RAI_ADMIN = "权益管理员"
|
|
|
- ROLE_TYPE_RAI_SELLER = "权益销售"
|
|
|
-
|
|
|
- ROLE_TYPE_FICC_GROUP = "ficc组长"
|
|
|
- ROLE_TYPE_RAI_GROUP = "权益组长"
|
|
|
- ROLE_TYPE_FICC_DEPARTMENT = "ficc部门经理"
|
|
|
- ROLE_TYPE_RAI_DEPARTMENT = "权益部门经理"
|
|
|
- ROLE_TYPE_FICC_RESEARCHR = "ficc研究员"
|
|
|
- ROLE_TYPE_RAI_RESEARCHR = "权益研究员"
|
|
|
-
|
|
|
- ROLE_TYPE_CODE_ADMIN = "admin"
|
|
|
- ROLE_TYPE_CODE_FICC_ADMIN = "ficc_admin"
|
|
|
- ROLE_TYPE_CODE_FICC_SELLER = "ficc_seller"
|
|
|
- ROLE_TYPE_CODE_RAI_ADMIN = "rai_admin"
|
|
|
- ROLE_TYPE_CODE_RAI_SELLER = "rai_seller"
|
|
|
- ROLE_TYPE_CODE_FICC_GROUP = "ficc_group"
|
|
|
- ROLE_TYPE_CODE_RAI_GROUP = "rai_group"
|
|
|
- ROLE_TYPE_CODE_FICC_DEPARTMENT = "ficc_department"
|
|
|
- ROLE_TYPE_CODE_RAI_DEPARTMENT = "rai_department"
|
|
|
- ROLE_TYPE_CODE_FICC_RESEARCHR = "ficc_researcher"
|
|
|
- ROLE_TYPE_CODE_RAI_RESEARCHR = "rai_researcher"
|
|
|
-
|
|
|
- ROLE_TYPE_SELLERS = "'ficc_admin','ficc_seller','rai_admin','rai_seller','ficc_group','rai_group','ficc_department','rai_department'"
|
|
|
-)
|
|
|
-
|
|
|
-
|
|
|
-const (
|
|
|
- COMPANY_CLASSIFY_FICC = "ficc"
|
|
|
- COMPANY_CLASSIFY_RAI = "权益"
|
|
|
- COMPANY_CLASSIFY_PARTNER = "合作伙伴"
|
|
|
-)
|
|
|
-
|
|
|
-const (
|
|
|
- COMPANY_PRODUCT_FICC_ID = 1
|
|
|
- COMPANY_PRODUCT_FICC_NAME = "ficc"
|
|
|
- COMPANY_PRODUCT_RAI_ID = 2
|
|
|
- COMPANY_PRODUCT_RAI_NAME = "权益"
|
|
|
-)
|
|
|
-
|
|
|
-var PermissionFiccClassifyArr = [...]string{"宏观经济", "化工产业", "黑色产业", "有色产业"}
|
|
|
-var PermissionAllClassifyArr = [...]string{"宏观经济", "化工产业", "黑色产业", "有色产业", "权益"}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-const (
|
|
|
- DATA_SOURCE_THS = iota + 1
|
|
|
- DATA_SOURCE_WIND
|
|
|
-)
|
|
|
-
|
|
|
-
|
|
|
-const (
|
|
|
- CATCH_EDB_DATA = "EDB_DATA_"
|
|
|
-)
|
|
|
-
|
|
|
-const (
|
|
|
- DATA_PREFIX="hz_data"
|
|
|
-)
|
|
|
-
|
|
|
+)
|