面包店
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

93 строки
4.6 KiB

  1. package md
  2. // 获取用户的缓存key
  3. const (
  4. KEY_SYS_CFG_CACHE = "sys_cfg_cache"
  5. // 文件缓存的key
  6. KEY_CFG_FILE_PVD = "file_provider" // 文件供应商
  7. KEY_CFG_FILE_BUCKET = "file_bucket"
  8. KEY_CFG_FILE_REGION = "file_bucket_region"
  9. KEY_CFG_FILE_HOST = "file_bucket_host"
  10. KEY_CFG_FILE_SCHEME = "file_bucket_scheme"
  11. KEY_CFG_FILE_AK = "file_access_key"
  12. KEY_CFG_FILE_SK = "file_secret_key"
  13. KEY_CFG_FILE_MAX_SIZE = "file_user_upload_max_size"
  14. KEY_CFG_FILE_EXT = "file_ext"
  15. KEY_CFG_FILE_AVATAR_THUMBNAIL = "file_avatar_thumbnail" // 默认头像缩略图参数,宽高120px,格式webp.
  16. // 智盟
  17. KEY_CFG_ZM_JD_SITE_ID = "third_zm_jd_site_id" // 智盟京东联盟id
  18. KEY_CFG_ZM_WEB_ID = "third_zm_web_id" // 智盟网站ID
  19. KEY_CFG_ZM_AK = "third_zm_app_key"
  20. KEY_CFG_ZM_SK = "third_zm_app_secret"
  21. KEY_CFG_ZM_SMS_AK = "third_zm_sms_ak"
  22. KEY_CFG_ZM_SMS_SK = "third_zm_sms_sk"
  23. KEY_CFG_APP_NAME = "app_name"
  24. KEY_CFG_WHITELIST = "api_cfg_whitelist" // API允许的访问的设置白名单
  25. // 淘宝
  26. KEY_CFG_TB_AUTH_AK = "third_taobao_auth_ak"
  27. KEY_CFG_TB_AUTH_SK = "third_taobao_auth_sk"
  28. KEY_CFG_TB_INVITER_CODE = "third_taobao_auth_inviter_code"
  29. KEY_CFG_TB_AK = "third_taobao_ak"
  30. KEY_CFG_TB_SK = "third_taobao_sk"
  31. KEY_CFG_TB_PID = "third_taobao_pid" // 淘宝推广ID,如:mm_123_456_789,123是联盟ID,456是site_id,789是adzone_id
  32. KEY_CFG_TB_SID = "third_taobao_sid" // 淘宝session id ,又称access_token
  33. // 苏宁
  34. KEY_CFG_SN_AK = "third_suning_ak"
  35. KEY_CFG_SN_SK = "third_suning_sk"
  36. KEY_CFG_JD_AK = ""
  37. KEY_CFG_JD_SK = ""
  38. KEY_CFG_KL_AK = "third_kaola_ak"
  39. KEY_CFG_KL_SK = "third_kaola_sk"
  40. KEY_CFG_VIP_AK = ""
  41. KEY_CFG_VIP_SK = ""
  42. // 自动任务配置
  43. KEY_CFG_CRON_TB = "cron_order_taobao"
  44. KEY_CFG_CRON_JD = "cron_order_jd"
  45. KEY_CFG_CRON_PDD = "cron_order_pdd"
  46. KEY_CFG_CRON_SN = "cron_order_suning"
  47. KEY_CFG_CRON_VIP = "cron_order_vip"
  48. KEY_CFG_CRON_KL = "cron_order_kaola"
  49. KEY_CFG_CRON_DUOMAI = "cron_order_duomai"
  50. KEY_CFG_CRON_HIS = "cron_order_his" // 迁移到历史订单
  51. KEY_CFG_CRON_SETTLE = "cron_order_settle" // 迁移到历史订单
  52. KEY_CFG_CRON_PUBLISHER = "cron_taobao_publisher" // 跟踪淘宝备案信息绑定会员运营id 针对小程序
  53. KEY_CFG_CRON_MEITUAN = "cron_order_meituan" //美团
  54. KEY_CFG_CRON_OILSTATION = "cron_order_oilstation" //加油
  55. KEY_CFG_CRON_KFC = "cron_order_kfc" //肯德基
  56. KEY_CFG_CRON_CINEMA = "cron_order_cinema" //电影票
  57. KEY_CFG_CRON_OilRequest = "cron_order_oilrequest" //加入主动请求抓单
  58. KEY_CFG_CRON_AGOTB = "cron_order_agotaobao" //n天前的淘宝订单
  59. KEY_CFG_CRON_CREDIT_CARD = "cron_order_credit_card"
  60. KEY_CFG_CRON_ORDER_STAT = "cron_order_stat" // 订单统计任务
  61. KEY_CFG_CRON_CARD_UPDATE = "cron_card_update" // 权益卡更新
  62. KEY_CFG_CRON_USER_LV_UP_SETTLE = "cron_user_lv_up_settle" //会员费订单结算
  63. KEY_CFG_CRON_PRIVILEGE_CARD_SETTLE = "cron_privilege_card_settle" //权益卡订单结算
  64. KEY_CFG_CRON_CARD_RETURN = "cron_card_return" //权益卡退款
  65. KEY_CFG_CRON_PUBLISHER_RELATION = "cron_taobao_publisher_relation" //获取淘宝渠道
  66. KEY_CFG_CRON_DTKBRAND = "cron_dtk_brand" //大淘客品牌信息
  67. KEY_CFG_CRON_PUBLISHER_RELATION_BIND = "cron_taobao_publisher_relation_bind" //获取淘宝渠道绑定
  68. // 自动任务运行时设置
  69. KEY_CFG_CRON_TIME_TB = "crontab_order_time_taobao"
  70. KEY_CFG_CRON_TIME_JD = "crontab_order_time_jd"
  71. KEY_CFG_CRON_TIME_PDD = "crontab_order_time_pdd"
  72. KEY_CFG_CRON_TIME_SN = "crontab_order_time_suning"
  73. KEY_CFG_CRON_TIME_VIP = "crontab_order_time_vip"
  74. KEY_CFG_CRON_TIME_KL = "crontab_order_time_kaola"
  75. KEY_CFG_CRON_TIME_DUOMAI = "crontab_order_time_duomai"
  76. KEY_CFG_CRON_TIME_PUBLISHER = "crontab_taobao_time_publisher" // 跟踪淘宝备案信息绑定会员运营id 针对小程序
  77. KEY_CFG_CRON_TIME_MEITUAN = "crontab_order_time_meituan" //美团
  78. KEY_CFG_CRON_TIME_OILSTATION = "crontab_order_time_oilstation" //加油
  79. KEY_CFG_CRON_TIME_KFC = "crontab_order_time_kfc" //肯德基
  80. KEY_CFG_CRON_TIME_CINEMA = "crontab_order_time_cinema" //电影票
  81. )