constants.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. package utils
  2. const (
  3. Md5Key = "Ks@h64WJ#tcVgG8$&WlNfqvLAtMgpxWN"
  4. )
  5. // 常量定义
  6. const (
  7. FormatTime = "15:04:05" //时间格式
  8. FormatDate = "2006-01-02" //日期格式
  9. FormatDateTime = "2006-01-02 15:04:05" //完整时间格式
  10. FormatDateTimeMinute2 = "2006-01-02 15:04" //时间格式 年-月-日 时:分
  11. HlbFormatDateTime = "2006-01-02_15:04:05.999" //完整时间格式
  12. FormatDateTimeNoSecond = "2006-01-02 15:04" //完整时间格式
  13. FormatDateTimeUnSpace = "20060102150405" //完整时间格式
  14. FormatDateTimeInit = "0000-00-00 00:00:00" //为空的初始化时间格式
  15. PageSize15 = 15 //列表页每页数据量
  16. FormatYearDate = "2006" //日期格式
  17. PageSize5 = 5
  18. PageSize10 = 10
  19. PageSize20 = 20
  20. PageSize30 = 30
  21. )
  22. const (
  23. APPNAME = "弘则-查研观向"
  24. EmailSendToUsers = "glji@hzinsights.com;pyan@hzinsights.com;cxzhang@hzinsights.com"
  25. EmailSendToExpert = "cxzhang@hzinsights.com"
  26. DefaultHeadimgurl = "https://hzstatic.hzinsights.com/static/temp/20220426202204/20220426/P5qLR2zzfBdKItp3eX2Du1tvq9Ba.jpg"
  27. ApiAuthorization = "bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkiLCJwaG9uZV9udW1iZXIiOiIxMjM0NTY3ODkiLCJuYW1lIjoi5YW25LuWIiwiZW50cmFuY2UiOiJwYXNzd3dvcmQiLCJpYXQiOjE2MzQ4NzA1OTQsImV4cCI6MTYzNDg3NDE5NH0.tho2L9jsbDPn8ltEGUVDve_nHsh0Kzf6ZrSz0RcZ0ag"
  28. ApiUrl = "https://vmp.hzinsights.com/v2api/"
  29. REGISTER_PLATFORM = 1 // 来源 1小程序,2:网页
  30. )
  31. // 手机号,电子邮箱正则
  32. const (
  33. 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}$" //手机号码
  34. RegularFixedTelephone = "^(\\(\\d{3,4}\\)|\\d{3,4}-|\\s)?\\d{7,14}$" //手机号码
  35. RegularFixedTelephoneEasy = "^[0-9\\-]+$" //手机号码
  36. RegularEmail = `\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*` //匹配电子邮箱
  37. RegularUrl = `(http|ftp|https):\/\/([\w\-_]+(?:(?:\.[\w\-_]+)+))([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?` //匹配电子邮箱
  38. )
  39. // 聚合短信
  40. var (
  41. JhGnTplId = "250078" //聚合国内模板编码
  42. JhGjTplId = "10054" //聚合国内模板编码
  43. JhGnAppKey = "4c8504c49dd335e99cfd7b6a3a9e2415" //聚合国内AppKey
  44. JhGjAppKey = "3326ad2c1047a4cd92ace153e6044ca3"
  45. )
  46. // OSS
  47. var (
  48. Endpoint string = "oss-cn-shanghai.aliyuncs.com"
  49. Bucketname string = "hongze"
  50. Imghost string = "https://hongze.oss-cn-shanghai.aliyuncs.com/"
  51. Upload_dir string = "static/images/"
  52. Upload_Audio_Dir string = "static/audio/"
  53. Upload_Pdf_Dir string = "static/pdf/"
  54. AccessKeyId string = "LTAIFMZYQhS2BTvW"
  55. AccessKeySecret string = "12kk1ptCHoGWedhBnKRVW5hRJzq9Fq"
  56. )
  57. // 缓存key
  58. const (
  59. CACHE_KEY_USER_VIEW = "user_view_record" //用户阅读数据
  60. CACHE_KEY_ARTICLE_ID_TEMPLATE = "ce_lue_article_id_template" //策略平台同步过来的文章ID,做微信模板消息推送,同一篇报告12小时只推送一次
  61. )
  62. // 模板消息推送类型
  63. const (
  64. TEMPLATE_MSG_CYGX_ACTIVITY_ADD = 12 //查研观向小程序活动更新推送 12
  65. TEMPLATE_MSG_CYGX_ARTICLE_ADD = 13 //查研观向报告更新推送 13
  66. TEMPLATE_MSG_CYGX_APPLY = 14 //查研观向审批通知
  67. TEMPLATE_MSG_CYGX_COMMENT = 15 //查研观向留言通知
  68. )
  69. const (
  70. ZHOU_QI_NAME string = "周期"
  71. CHART_PERMISSION_NAME_YANXUAN string = "研选"
  72. MAI_FANG_YAN_XUAN_NAME string = "买方研选"
  73. CHART_PERMISSION_NAME_MF_YANXUAN string = "研选订阅"
  74. CHART_PERMISSION_ID_YANXUAN int = 31 //权限研选订阅id
  75. YAN_XUAN_KOU_DIAN_BAO_ID int = 52 //研选扣点包ID
  76. YAN_XUAN_KOU_DIAN_BAO_NAME string = "研选扣点包" //研选扣点包ID
  77. C_CLASS_ACTIVITY_TYPE_ID int = 7 //C类电话会会议ID
  78. ANALYST_TELL_ACTIVITY_TYPE_ID int = 2 //分析师电话会ID
  79. CE_LUE_NAME string = "策略"
  80. CE_LUE_ID int = 23
  81. YI_YAO_NAME string = "医药"
  82. YI_YAO_OTHER_IMG string = "https://hzstatic.hzinsights.com/static/temp/20221118202211/20221118/qzPm61bVf40Je7c5iL1s4CbrDcpv.png" //医药其它图片
  83. YI_YAO_ID int = 22
  84. XIAO_FEI_NAME string = "消费"
  85. XIAO_FEI_OTHER_IMG string = "https://hzstatic.hzinsights.com/static/temp/20221118202211/20221118/BxOfzECjhqjipJCWwAa9Ep99OTMA.png" //消费其它图片
  86. XIAO_FEI_ID int = 21
  87. KE_JI_NAME string = "科技"
  88. KE_JI_OTHER_IMG string = "https://hzstatic.hzinsights.com/static/temp/20221118202211/20221118/vr7eTXIrl6YjJ80DDTVbdnFRQ9mJ.png" //科技其它图片
  89. KE_JI_ID int = 20
  90. ZHI_ZAO_NAME string = "智造"
  91. ZHI_ZAO_OTHER_IMG string = "https://hzstatic.hzinsights.com/static/temp/20221118202211/20221118/SSaQcWzMk5slN3FkCwZifK3qcAWd.png" //智造其它图片
  92. ZHI_ZAO_ID int = 19
  93. LINK_WX_EXPLAIN = "https://mp.weixin.qq.com/s?__biz=Mzg2OTYzODk0Nw==&mid=2247483662&idx=1&sn=3752df99025189b9d77fe658bfc0edbd&chksm=ce98b742f9ef3e54b49986e647dd951a3aad74f323174b252174e0938c264c0562c8ec455106#rd" //用户阅读数据
  94. ACTIVITY_SPECIAL_EXPLAIN = "预报名专项调研行程持续更新中,满10家即开团,欢迎点击感兴趣预报名" //用户阅读数据
  95. HZ_COMPANY_ID int = 16 // 弘则公司的ID
  96. HONG_GUAN_NAME string = "宏观"
  97. HONG_GUAN_ID int = 1
  98. GU_SHOU_NAME string = "固收"
  99. GU_SHOU_ID int = 100000 // 自定义权限类型ID ,十万起步
  100. GU_SHOU_ID_CHART int = 53 // chart_permission 表 固收ID
  101. YAN_XUAN_ARTICLE_TYPE_IDS string = "1,2,12" // 属于研选的报告类型ID
  102. NO_YAN_XUAN_ARTICLE_TYPE_IDS string = "13" // 不属于研选的报告类型ID
  103. CYGX_TACTICS_TIME_LINE_STATUS string = "cygx_tactics_time_line_status" // 策略时间线是否对外开放
  104. CYGX_GUSHOU_TIME_LINE_STATUS string = "cygx_gushou_time_line_status" // 固收时间线是否对外开放
  105. TIME_LINE_ID int = 99999 // 策略时间线的值
  106. TIME_LINE_NAME string = "时间线" // 策略时间线的名称
  107. ACTEGORY_ID_AI_QY int = 61 // AI前沿自定义ID
  108. ZHUAN_JIA_NAME string = "专家"
  109. ZHUAN_JIA_ID int = 29
  110. )
  111. const (
  112. CHART_INFO_HTTP_URL = "https://vmp.hzinsights.com/v2/charts/"
  113. COLLECTIONS_INFO_HTTP_URL = "https://vmp.hzinsights.com/v2/collections"
  114. )
  115. const (
  116. YAN_XUAN_EXPLAIN = "买方研选内容实行阶段,限时免费。也欢迎您向我们提宝贵建议。"
  117. YAN_XUAN_TAB_KEY = "yanxuan_header_tab"
  118. )
  119. const (
  120. YI_DONG_ZHENG_TONG_YUN_TOKEN_KEY = "YI_DONG_ZHENG_TONG_YUN_TOKEN_KEY" //易董证通云的token,存Redis使用
  121. CYGX_USER_KEY_LABEL = "CYGX_USER_KEY_LABEL" //查研观向用户标签
  122. CYGX_YANXUAN_POINTS_KEY = "CYGX_YANXUAN_POINTS_KEY" //查研观向研选活动扣点KEY
  123. CYGX_ARTICLE_UPDATE_KEY = "CYGX_ARTICLE_UPDATE_KEY" //策略平台更新文章key
  124. //CYGX_RAI_SERVE_BILL_KEY = "CYGX_RAI_SERVE_BILL_KEY" //权益服务记录明细key
  125. )
  126. const (
  127. SHANG_HAI_CRM_API_TOKEN = "SHANG_HAI_CRM_API_TOKEN"
  128. )
  129. // 邀请机构标识
  130. const (
  131. LUODING_CODE = "LUODING" //络町
  132. )
  133. const (
  134. //专项调研背景图片
  135. //ACTIVITY_ZXDY_ImgUrl1 = "https://hzstatic.hzinsights.com/static/temp/20220427202204/20220427/b2Bj3fGakP16iJRFKisQohCWnCNl.png"
  136. //ACTIVITY_ZXDY_ImgUrl2 = "https://hzstatic.hzinsights.com/static/temp/20220427202204/20220427/OkunjfKEgo5KRLifzwwLX8cDZnnN.png"
  137. //ACTIVITY_ZXDY_ImgUrl3 = "https://hzstatic.hzinsights.com/static/temp/20220426202204/20220426/XDLLsjC9XAAy8LIzQr7GsjrBbtX6.png"
  138. ACTIVITY_ZXDY_ImgUrl1 = "https://hzstatic.hzinsights.com/static/temp/20220830202208/20220830/2c4YHXzwb0uqvIfgPvBV4MZtKNX9.png"
  139. ACTIVITY_ZXDY_ImgUrl2 = "https://hzstatic.hzinsights.com/static/temp/20220830202208/20220830/UERktOWyQQEoPeckdy01TEZP09Pu.png"
  140. ACTIVITY_ZXDY_ImgUrl3 = "https://hzstatic.hzinsights.com/cygx/special_list_bg.png"
  141. )
  142. const (
  143. YI_YAO_QI_TA = "https://hzstatic.hzinsights.com/static/temp/20220922202209/20220922/2OQMBFplQE1R3bX1y3obX7JSwSuA.png"
  144. YAN_XUAN_IMG = "https://hzstatic.hzinsights.com/static/temp/20221027202210/20221027/Dd8TrsMh8tNx2tGd5VeaQDyJVQfV.png"
  145. )
  146. const (
  147. COMPANY_PRODUCT_FICC_ID = 1
  148. COMPANY_PRODUCT_FICC_NAME = "ficc"
  149. COMPANY_PRODUCT_RAI_ID = 2
  150. COMPANY_PRODUCT_RAI_NAME = "权益"
  151. )
  152. // 微信模板消息推送公共接口的秘钥
  153. const (
  154. SendTemplateMsgAuthorization = "dc855fce962a639faa779cbdd4cd332f"
  155. )
  156. // 模板消息地址路由
  157. const (
  158. WX_MSG_PATH_ARTICLE_DETAIL = "pageMy/reportDetail/reportDetail?id=" //文章详情模板消息地址
  159. WX_MSG_PATH_ACTIVITY_DETAIL = "activityPages/activityDetail/activityDetail?id=" //活动模板消息地址
  160. WX_MSG_PATH_ACTIVITY_SPECIAL_DETAIL = "activityPages/specialDetail/specialDetail?id=" //专项调研活动模板消息地址
  161. WX_MSG_PATH_ACTIVITY_INDUSTRYR_EPORT = "reportPages/IndustryReport/IndustryReport?id=" //产业文章列表模板消息地址
  162. WX_MSG_PATH_ABOUT_US = "pageMy/followUs/followUs" //关于我们页面路径
  163. WX_MSG_PATH_AUTHOR_DETAIL = "reportPages/authorPages/authorPages?id=" //作者详情模板消息地址
  164. WX_MSG_PATH_INDUSTRY_DETAIL = "reportPages/IndustryReport/IndustryReport?id=" //产业详情模板消息地址
  165. WX_MSG_PATH_PRODUCTINTERIOR_DETAIL = "reportPages/internalDetials/internalDetials?id=" //产品内测详情模板消息地址
  166. WX_MSG_PATH_THIS_WEEK_DETAIL = "reportPages/reportSecretDetail/reportSecretDetail?type=2&id=" //本周研究汇总详情模板消息地址
  167. WX_MSG_PATH_LAST_WEEK_DETAIL = "reportPages/reportSecretDetail/reportSecretDetail?type=3&id=" //上周纪要汇总详情模板消息地址
  168. WX_MSG_PATH_KEY_COMPANY_DETAIL = "reportPages/keyCompany/keyCompany?id=" //重点公司详情模板消息地址
  169. WX_MSG_PATH_RESEARCHTHEME_DETAIL = "reportPages/researchTheme/researchTheme?id=" //主题详情模板消息地址
  170. WX_MSG_PATH_ACTIVITY_SIGN = "pages-message/activityTemplate/activityTemplate?id=" //活动模板消息地址
  171. WX_MSG_PATH_APPLY_DETAIL = "pages-message/applyFor/applyFor?id=" //潜在用户试用权限申请
  172. WX_MSG_PATH_YX_SURVEY_DETAIL = "pages-purchaser/survey/surveyDetail?surveyId=" //用户提交研选调研需求
  173. WX_MSG_PATH_APPLY_COLLECTION_DETAIL = "reportPages/bulletinDetail/bulletinDetail?id=" //精选看板申请详情页
  174. WX_MSG_PATH_YX_SPECIAL_DETAIL = "pages-purchaser/noteAndViewpoint/noteAndViewpoint?id=" //研选专栏详情
  175. WX_MSG_PATH_YX_SPECIAL_ENABLE_DETAIL = "pages-purchaser/toExamine/toExamine?isMessage=模板&id=" //研选专栏审核详情页面
  176. WX_MSG_PATH_YX_SPECIAL_CENTER = "pages-purchaser/contentAllPage/contentAllPage?Status=4" //研选专栏内容中心
  177. WX_MSG_PATH_YX_COMMENT_DETAIL = "pages-activity/generationAsk/generationAsk?id=" //研选报告留言详情
  178. WX_MSG_PATH_YX_ACTIVITY_DETAIL = "pages-activity/activityDetail/activityDetail?IsSendWx=1&id=" //研选活动详情
  179. WX_MSG_PATH_YX_SIGNUP_DETAIL = "pages-message/activityTemplate/activityTemplate?id=" //研选报名详情
  180. WX_MSG_PATH_YX_ARTICLE_DETAIL = "pages-user/reportDetail/reportDetail?IsSendWx=1&id=" //研选纪要详情
  181. WX_MSG_PATH_FICC_REPORT_DETAIL = "pages-ficc/reportDetail/reportDetail?id=" //FICC研报详情
  182. )
  183. //2:文章详情 https://web.hzinsights.com/material/info/8436 小程序路径:/pageMy/reportDetail/reportDetail?id=
  184. //3:活动详情 https://web.hzinsights.com/activity/detail/2701 小程序路径:/activityPages/activityDetail/activityDetail?id=
  185. //4:产业详情 https://web.hzinsights.com/indepth/info/20/79 小程序路径:/reportPages/IndustryReport/IndustryReport?id=
  186. //5:关于我们 https://clpttest.hzinsights.com/about
  187. //6:产品内测 https://clpttest.hzinsights.com/internal/article/29 小程序路径:/reportPages/internalDetials/internalDetials?id=
  188. //7:本周研究汇总 https://clpttest.hzinsights.com/summary/2/152 小程序路径:/reportPages/reportSecretDetail/reportSecretDetail?type=2&id=
  189. //8:上周研究汇总 https://clpttest.hzinsights.com/summary/3/112 小程序路径:/reportPages/reportSecretDetail/reportSecretDetail?type=3&id=
  190. //9:专项调研活动 https://clpttest.hzinsights.com/activity/info/70 小程序路径:/activityPages/specialDetail/specialDetail?id=
  191. //10: 重点公司 https://clpttest.hzinsights.com/recent/67 小程序路径:/reportPages/keyCompany/keyCompany
  192. //11: 主题详情 https://clpttest.hzinsights.com/community/theme/117 小程序路径:/reportPages/researchTheme/researchTheme?id=
  193. //12: 作者详情 https://clpttest.hzinsights.com/community/author/78 小程序路径:/reportPages/authorPages/authorPages?id=
  194. // 模板消息地址路由
  195. const (
  196. ACtIVITY_SPECIAL_EXPLAIN = "此类调研具体行程尚未确定,待预报名人数满10人后弘则会确定行程并推送给您活动日期,只有在确定行程中再次报名才完成占位。" //专项调研说明
  197. ACtIVITY_SPECIAL_TRIP_EXPLAIN = "此类调研时间安排已经确定,点击报名后按人次扣除对应机构的服务点数。由于每场活动人数有限,如果不能参加请提前48小时取消,未及时取消导致影响其他客户报名将会维持扣点。" //专项调研说明
  198. )
  199. const (
  200. GAO_YI_ZI_CHAN_COMPANY_ID = 5285 // 高毅资产ID
  201. )
  202. // 模板消息地址路由2
  203. const (
  204. WX_MSG_PATH_TEMPLATE_MSG = "/pages-message/templateMsg/templateMsg?" //留言带问模版消息地址详情
  205. )
  206. const (
  207. TPL_MSG_WANG_YANG = "tpl_msg_wang_yang" //汪洋手机号地址参数
  208. TPL_MSG_WANG_FANG_WANG_YANG = "tpl_msg_wang_fang_wang_yang" //权限模板消息接收人,王芳,汪洋
  209. TPL_MSG_YAN_XUAN_SPECIAL_APPROVAL = "tpl_msg_yan_xuan_special_approval" //研选专栏修改之后给这些手机号推送审核模版消息
  210. TPL_MSG = "tpl_msg" //王芳手机号地址参数
  211. TPL_MSG_NEI_RONG_ZU = "tpl_msg_nei_rong_zu" //内容组四人
  212. CYGX_TAG_HOT_ACTIVITY_ID string = "cygx_tag_hot_activity_id" //标签管理自定义的热门活动ID
  213. GET_FICC_REPORT_SET string = "get_ficc_report_set" //同步FICC研报的规则
  214. )
  215. const (
  216. MobileShenTao = "18767183922" //沈涛手机号
  217. MobileZhangChuanXin = "15557270714" // 张传星手机号
  218. MobileWangFang = "18621268829" // 王芳手机号
  219. MobileWuAngDi = "18701809782" // 吴昂迪手机号
  220. MobileDongHeng = "15216736473" // 董衡手机号
  221. )
  222. const (
  223. CYGX_OBJ_ARTICLE string = "article" // 对象类型:文章
  224. CYGX_OBJ_ACTIVITY string = "activity" // 对象类型:活动
  225. CYGX_OBJ_ACTIVITYVIDEO string = "activityvideo" // 对象类型:活动视频
  226. CYGX_OBJ_ACTIVITYVOICE string = "activityvoice" // 对象类型:活动音频
  227. CYGX_OBJ_ACTIVITYSPECIAL string = "activityspecial" // 对象类型:专项调研活动
  228. CYGX_OBJ_MEETINGREVIEWCHAPT string = "meetingreviewchapt" // 对象类型:晨会精华
  229. CYGX_OBJ_ROADSHOW string = "roadshow" // 对象类型:路演
  230. CYGX_OBJ_REPORTSELECTION string = "reportselection" // 对象类型:报告精选(重点公司)
  231. CYGX_OBJ_PRODUCTINTERIOR string = "productinterior" // 对象类型:产品内测
  232. CYGX_OBJ_RESEARCHSUMMARY string = "researchsummary" // 对象类型:本周研究汇总
  233. CYGX_OBJ_MINUTESSUMMARY string = "minutessummary" // 对象类型:上周纪要汇总
  234. CYGX_OBJ_YANXUANSPECIAL string = "yanxuanspecial" // 对象类型:研选专栏
  235. CYGX_OBJ_ASKSERIEVIDEO string = "askserievideo" // 对象类型:问答系列视频
  236. CYGX_OBJ_NEWCHART string = "newchart" // 对象类型:图表
  237. CYGX_OBJ_INDUSTRIALSOURCE_HZ string = "industrialsourceHz" // 对象类型:弘则资源包
  238. CYGX_OBJ_INDUSTRIALSOURCE_YX string = "industrialsourceYx" // 对象类型:研选资源包
  239. CYGX_OBJ_RS_CALENDAR string = "rscalendar" // 对象类型:研究员日历安排
  240. CYGX_OBJ_USER_FEEDBACK string = "userfeedback" // 对象类型:用户交流反馈
  241. CYGX_OBJ_FICC_REPORT string = "ficcreport" // 对象类型:FICC研报
  242. CYGX_OBJ_FICC_REPORT_XCX string = "ficcreportxcx" // 对象类型:FICC研报小程序
  243. )
  244. const (
  245. CYGX_YANXUAN_SPECIAL = "研选专栏" //用户阅读数据
  246. CYGX_YANXUAN_ARTICLE = "买方研选" //用户阅读数据
  247. CYGX_VIDEO_HISTORY_KEY = "CYGX_VIDEO_HISTORY_XCX" //路演播放Key 小程序、web端
  248. )
  249. const (
  250. ACTIVITY_ZJDHH_V1_MSG string = "该活动为非公开活动,如有专家访谈需求请联系对口销售" // 限制人数为1的专家电话会用户C端报名,提示消息内容
  251. FULLSTARFFED_MSG string = "FullStarffed" // 报名的时候人数已满的状态
  252. )
  253. // 免责声明
  254. const (
  255. DISCLAIMERS string = "<div style=\"padding:20px\"><p>本报告仅供弘则弥道(上海)投资咨询有限公司正式签约的机构客户使用,不会因接收人/接收机构收到本报告而将其视为客户。本报告根据国际和行业通行的准则,以合法渠道获得这些信息,尽可能保证可靠、准确和完整,但并不保证报告所述信息的准确性和完整性,也不保证本报告所包含的信息或建议在本报告发出后不会发生任何变更。本报告中所提供的信息仅供参考。报告中的内容不对投资者做出的最终操作建议做任何的担保,也没有任何形式的分享投资收益或者分担投资损失的书面或口头承诺。不作为客户在投资、法律、会计或税务等方面的最终操作建议,也不作为道义的、责任的和法律的依据或者凭证,无论是否已经明示或者暗示。在任何情况下,本公司不对客户/接收人/接收机构因使用报告中内容所引致的一切损失负责任,客户/接收人/接收机构需自行承担全部风险。</p></div>"
  256. )
  257. // GetWeeklyDatabase 获取 weekly_report 库名
  258. func GetWeeklyDatabase() (databaseName string) {
  259. if RunMode == "release" {
  260. databaseName = `weekly_report`
  261. } else {
  262. databaseName = `test_v2_weekly_report`
  263. }
  264. return
  265. }
  266. // 客户状态
  267. const (
  268. COMPANY_STATUS_TRY_OUT = "试用"
  269. COMPANY_STATUS_FOREVER = "永续"
  270. COMPANY_STATUS_FREEZE = "冻结"
  271. COMPANY_STATUS_LOSE = "流失"
  272. COMPANY_STATUS_LOSE_FLAG = "loss"
  273. COMPANY_STATUS_FORMAL = "正式"
  274. COMPANY_STATUS_POTENTIAL = "潜在"
  275. COMPANY_STATUS_CLOSE = "关闭"
  276. )
  277. var ACTIVITY_SPECIAL_TRIP_PERMISSION_NAME_OTHER = []string{"策略", "固收", "周期"} //专项调研活动带扣点的行业
  278. // FICC报告
  279. const (
  280. DEFAULT_REPORT_SHARE_BG_IMG = "https://hzstatic.hzinsights.com/static/icon/hzyb/rddp-share-bg.png" // 分享默认背景图
  281. ALIYUN_YBIMG_HOST = "https://hzstatic.hzinsights.com/static/yb_wx/"
  282. FICC_REPORT_APPID = "wxb059c872d79b9967"
  283. FICC_REPORT_ICO_HOME = "https://hzstatic.hzinsights.com/cygx/config/ficc_report_ico.png" // FICC研报小程序首页封面图
  284. )
  285. const (
  286. key = "zDeESsxsXuionhqSLZYHWcDJ" //全局加密KEY
  287. REPORT_KEY = "Zdhuef3ajCLTpfGLn10cOJLJ" //报告加密Key
  288. )