智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

enum_sys_cfg.go 5.6 KiB

1 year ago
1 year ago
4 months ago
4 months ago
3 months ago
4 months ago
1 year ago
4 months ago
3 months ago
4 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. package enum
  2. type SysCfg string
  3. const (
  4. AppName = "app_name"
  5. OpenAlipayAppid = "open_alipay_appid"
  6. OpenAlipayAesKey = "open_alipay_aes_key"
  7. OpenAlipayAppPrivateKey = "open_alipay_app_private_key"
  8. OpenAlipayAppPublicKey = "open_alipay_app_public_key"
  9. OpenAlipayPublicKey = "open_alipay_public_key"
  10. OpenAppletAesKey = "open_applet_aes_key"
  11. OpenAppletAppid = "open_applet_appid"
  12. OpenAppletAppPrivateKey = "open_applet_app_private_key"
  13. OpenAppletAppPublicKey = "open_applet_app_public_key"
  14. OpenAppletPublicKey = "open_applet_public_key"
  15. FileBucketHost = "file_bucket_host"
  16. FileBucketRegion = "file_bucket_region"
  17. FileBucketScheme = "file_bucket_scheme"
  18. FileExt = "file_ext"
  19. FileSecretKey = "file_secret_key"
  20. FileUserUploadMaxSize = "file_user_upload_max_size"
  21. FileAccessKey = "file_access_key"
  22. FileBucket = "file_bucket"
  23. AdministratorContactInfo = "administrator_contact_info"
  24. CentralKitchenForSchoolReserveMealTime = "central_kitchen_for_school_reserve_meal_time"
  25. CentralKitchenForSchoolCancelMealTime = "central_kitchen_for_school_cancel_meal_time"
  26. CentralKitchenForSchoolCancelMealTimeForBreakfast = "central_kitchen_for_school_cancel_meal_time_for_breakfast"
  27. CentralKitchenForSchoolCancelMealTimeForDinner = "central_kitchen_for_school_cancel_meal_time_for_dinner"
  28. CentralKitchenForSchoolCancelMealTimeForLunch = "central_kitchen_for_school_cancel_meal_time_for_lunch"
  29. CentralKitchenForSchoolTeacherMealNotice = "central_kitchen_for_school_teacher_meal_notice"
  30. NursingHomeReserveMealTime = "nursing_home_reserve_meal_time"
  31. NursingHomeCancelMealTime = "nursing_home_cancel_meal_time"
  32. JsapiPayAppAutToken = "jsapi_pay_app_auth_token"
  33. JsapiPayNotifyUrl = "jsapi_pay_notify_url"
  34. WxAppletAppId = "wx_applet_app_id"
  35. WxAppletAppSecret = "wx_applet_app_secret"
  36. WxMchId = "wx_mch_id"
  37. WxSpMchApiV3Key = "wx_sp_mch_api_v3_key"
  38. WxSpMchCertificateSerialNumber = "wx_sp_mch_certificate_serial_number"
  39. WxSpAppId = "wx_sp_app_id"
  40. WxSpMchId = "wx_sp_mch_id"
  41. WxJsapiPayNotifyUrl = "wx_jsapi_pay_notify_url"
  42. WxJsapiRefundPayNotifyUrl = "wx_jsapi_refund_pay_notify_url"
  43. )
  44. func (gt SysCfg) String() string {
  45. switch gt {
  46. case AppName:
  47. return "项目名称"
  48. case OpenAlipayAesKey:
  49. return "支付宝开放平台-第三方应用-接口内容加密-aesKey"
  50. case OpenAlipayAppPrivateKey:
  51. return "支付宝开放平台-第三方应用-接口加签-应用私钥"
  52. case OpenAlipayAppPublicKey:
  53. return "支付宝开放平台-第三方应用-接口加签-应用公钥"
  54. case OpenAlipayPublicKey:
  55. return "支付宝开放平台-第三方应用-接口加签-支付宝公钥"
  56. case OpenAppletAesKey:
  57. return "支付宝开放平台-小程序-接口内容加密-aesKey"
  58. case OpenAppletAppPrivateKey:
  59. return "支付宝开放平台-小程序-接口加签-应用私钥"
  60. case OpenAppletAppPublicKey:
  61. return "支付宝开放平台-小程序-接口加签-应用公钥"
  62. case OpenAppletPublicKey:
  63. return "支付宝开放平台-小程序-接口加签-支付宝公钥"
  64. case OpenAlipayAppid:
  65. return "支付宝开放平台-第三方应用-appid"
  66. case OpenAppletAppid:
  67. return "支付宝开放平台-小程序-appid"
  68. case FileBucketHost:
  69. return "对象存储域名"
  70. case FileBucketRegion:
  71. return "文件所属区域"
  72. case FileExt:
  73. return "文件上传后缀,后台用户不限制后缀"
  74. case FileBucketScheme:
  75. return "文件上传模式"
  76. case FileSecretKey:
  77. return "对象存储SecretToken"
  78. case FileUserUploadMaxSize:
  79. return "用户单文件最大上传大小,byte"
  80. case FileAccessKey:
  81. return "对象存储AccessToken"
  82. case FileBucket:
  83. return "对象存储bucket"
  84. case AdministratorContactInfo:
  85. return "管理员联系方式"
  86. case CentralKitchenForSchoolReserveMealTime:
  87. return "央厨预定用餐时间"
  88. case CentralKitchenForSchoolCancelMealTime:
  89. return "央厨取消用餐时间"
  90. case CentralKitchenForSchoolCancelMealTimeForBreakfast:
  91. return "央厨取消用餐时间-早餐"
  92. case CentralKitchenForSchoolCancelMealTimeForLunch:
  93. return "央厨取消用餐时间-午餐"
  94. case CentralKitchenForSchoolTeacherMealNotice:
  95. return "教师餐说明"
  96. case CentralKitchenForSchoolCancelMealTimeForDinner:
  97. return "央厨取消用餐时间-晚餐"
  98. case NursingHomeReserveMealTime:
  99. return "养老院预定用餐时间"
  100. case NursingHomeCancelMealTime:
  101. return "养老院取消用餐时间"
  102. case JsapiPayAppAutToken:
  103. return "支付宝开放平台-jsapi支付-app_auth_token"
  104. case JsapiPayNotifyUrl:
  105. return "支付宝开放平台-jsapi支付-异步通知"
  106. case WxAppletAppId:
  107. return "微信-小程序-appid"
  108. case WxAppletAppSecret:
  109. return "微信-小程序-appSecret"
  110. case WxMchId:
  111. return "微信商户id"
  112. case WxSpMchApiV3Key:
  113. return "微信服务商-商户apiV3密钥"
  114. case WxSpMchCertificateSerialNumber:
  115. return "微信服务商-商户证书序列号"
  116. case WxSpAppId:
  117. return "微信服务商-appid"
  118. case WxSpMchId:
  119. return "微信服务商-商户id"
  120. case WxJsapiPayNotifyUrl:
  121. return "微信-jsapi支付-异步通知"
  122. case WxJsapiRefundPayNotifyUrl:
  123. return "微信-退款-异步通知"
  124. default:
  125. return "未知"
  126. }
  127. }