智慧食堂
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

enum_sys_cfg.go 5.4 KiB

1 år sedan
1 år sedan
3 månader sedan
3 månader sedan
1 år sedan
3 månader sedan
1 år sedan
1 år sedan
1 år sedan
1 år sedan
1 år sedan
1 år sedan
1 år sedan
1 år sedan
1 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. NursingHomeReserveMealTime = "nursing_home_reserve_meal_time"
  30. NursingHomeCancelMealTime = "nursing_home_cancel_meal_time"
  31. JsapiPayAppAutToken = "jsapi_pay_app_auth_token"
  32. JsapiPayNotifyUrl = "jsapi_pay_notify_url"
  33. WxAppletAppId = "wx_applet_app_id"
  34. WxAppletAppSecret = "wx_applet_app_secret"
  35. WxMchId = "wx_mch_id"
  36. WxSpMchApiV3Key = "wx_sp_mch_api_v3_key"
  37. WxSpMchCertificateSerialNumber = "wx_sp_mch_certificate_serial_number"
  38. WxSpAppId = "wx_sp_app_id"
  39. WxSpMchId = "wx_sp_mch_id"
  40. WxJsapiPayNotifyUrl = "wx_jsapi_pay_notify_url"
  41. WxJsapiRefundPayNotifyUrl = "wx_jsapi_refund_pay_notify_url"
  42. )
  43. func (gt SysCfg) String() string {
  44. switch gt {
  45. case AppName:
  46. return "项目名称"
  47. case OpenAlipayAesKey:
  48. return "支付宝开放平台-第三方应用-接口内容加密-aesKey"
  49. case OpenAlipayAppPrivateKey:
  50. return "支付宝开放平台-第三方应用-接口加签-应用私钥"
  51. case OpenAlipayAppPublicKey:
  52. return "支付宝开放平台-第三方应用-接口加签-应用公钥"
  53. case OpenAlipayPublicKey:
  54. return "支付宝开放平台-第三方应用-接口加签-支付宝公钥"
  55. case OpenAppletAesKey:
  56. return "支付宝开放平台-小程序-接口内容加密-aesKey"
  57. case OpenAppletAppPrivateKey:
  58. return "支付宝开放平台-小程序-接口加签-应用私钥"
  59. case OpenAppletAppPublicKey:
  60. return "支付宝开放平台-小程序-接口加签-应用公钥"
  61. case OpenAppletPublicKey:
  62. return "支付宝开放平台-小程序-接口加签-支付宝公钥"
  63. case OpenAlipayAppid:
  64. return "支付宝开放平台-第三方应用-appid"
  65. case OpenAppletAppid:
  66. return "支付宝开放平台-小程序-appid"
  67. case FileBucketHost:
  68. return "对象存储域名"
  69. case FileBucketRegion:
  70. return "文件所属区域"
  71. case FileExt:
  72. return "文件上传后缀,后台用户不限制后缀"
  73. case FileBucketScheme:
  74. return "文件上传模式"
  75. case FileSecretKey:
  76. return "对象存储SecretToken"
  77. case FileUserUploadMaxSize:
  78. return "用户单文件最大上传大小,byte"
  79. case FileAccessKey:
  80. return "对象存储AccessToken"
  81. case FileBucket:
  82. return "对象存储bucket"
  83. case AdministratorContactInfo:
  84. return "管理员联系方式"
  85. case CentralKitchenForSchoolReserveMealTime:
  86. return "央厨预定用餐时间"
  87. case CentralKitchenForSchoolCancelMealTime:
  88. return "央厨取消用餐时间"
  89. case CentralKitchenForSchoolCancelMealTimeForBreakfast:
  90. return "央厨取消用餐时间-早餐"
  91. case CentralKitchenForSchoolCancelMealTimeForLunch:
  92. return "央厨取消用餐时间-午餐"
  93. case CentralKitchenForSchoolCancelMealTimeForDinner:
  94. return "央厨取消用餐时间-晚餐"
  95. case NursingHomeReserveMealTime:
  96. return "养老院预定用餐时间"
  97. case NursingHomeCancelMealTime:
  98. return "养老院取消用餐时间"
  99. case JsapiPayAppAutToken:
  100. return "支付宝开放平台-jsapi支付-app_auth_token"
  101. case JsapiPayNotifyUrl:
  102. return "支付宝开放平台-jsapi支付-异步通知"
  103. case WxAppletAppId:
  104. return "微信-小程序-appid"
  105. case WxAppletAppSecret:
  106. return "微信-小程序-appSecret"
  107. case WxMchId:
  108. return "微信商户id"
  109. case WxSpMchApiV3Key:
  110. return "微信服务商-商户apiV3密钥"
  111. case WxSpMchCertificateSerialNumber:
  112. return "微信服务商-商户证书序列号"
  113. case WxSpAppId:
  114. return "微信服务商-appid"
  115. case WxSpMchId:
  116. return "微信服务商-商户id"
  117. case WxJsapiPayNotifyUrl:
  118. return "微信-jsapi支付-异步通知"
  119. case WxJsapiRefundPayNotifyUrl:
  120. return "微信-退款-异步通知"
  121. default:
  122. return "未知"
  123. }
  124. }