智慧食堂
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

85 wiersze
3.2 KiB

  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. JsapiPayAppAutToken = "jsapi_pay_app_auth_token"
  27. )
  28. func (gt SysCfg) String() string {
  29. switch gt {
  30. case AppName:
  31. return "项目名称"
  32. case OpenAlipayAesKey:
  33. return "支付宝开放平台-第三方应用-接口内容加密-aesKey"
  34. case OpenAlipayAppPrivateKey:
  35. return "支付宝开放平台-第三方应用-接口加签-应用私钥"
  36. case OpenAlipayAppPublicKey:
  37. return "支付宝开放平台-第三方应用-接口加签-应用公钥"
  38. case OpenAlipayPublicKey:
  39. return "支付宝开放平台-第三方应用-接口加签-支付宝公钥"
  40. case OpenAppletAesKey:
  41. return "支付宝开放平台-小程序-接口内容加密-aesKey"
  42. case OpenAppletAppPrivateKey:
  43. return "支付宝开放平台-小程序-接口加签-应用私钥"
  44. case OpenAppletAppPublicKey:
  45. return "支付宝开放平台-小程序-接口加签-应用公钥"
  46. case OpenAppletPublicKey:
  47. return "支付宝开放平台-小程序-接口加签-支付宝公钥"
  48. case OpenAlipayAppid:
  49. return "支付宝开放平台-第三方应用-appid"
  50. case OpenAppletAppid:
  51. return "支付宝开放平台-小程序-appid"
  52. case FileBucketHost:
  53. return "对象存储域名"
  54. case FileBucketRegion:
  55. return "文件所属区域"
  56. case FileExt:
  57. return "文件上传后缀,后台用户不限制后缀"
  58. case FileBucketScheme:
  59. return "文件上传模式"
  60. case FileSecretKey:
  61. return "对象存储SecretToken"
  62. case FileUserUploadMaxSize:
  63. return "用户单文件最大上传大小,byte"
  64. case FileAccessKey:
  65. return "对象存储AccessToken"
  66. case FileBucket:
  67. return "对象存储bucket"
  68. case AdministratorContactInfo:
  69. return "管理员联系方式"
  70. case CentralKitchenForSchoolReserveMealTime:
  71. return "央厨预定用餐时间"
  72. case CentralKitchenForSchoolCancelMealTime:
  73. return "央厨取消用餐时间"
  74. case JsapiPayAppAutToken:
  75. return "支付宝开放平台-jsapi支付-app_auth_token"
  76. default:
  77. return "未知"
  78. }
  79. }