智慧食堂
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.

hdl_sys_cfg.go 563 B

1 year ago
1 year ago
1 year ago
123456789101112131415161718
  1. package hdl
  2. import (
  3. "applet/app/db"
  4. "applet/app/e"
  5. "applet/app/enum"
  6. "github.com/gin-gonic/gin"
  7. )
  8. func GetSysCfg(c *gin.Context) {
  9. sysCfgDb := db.SysCfgDb{}
  10. sysCfgDb.Set()
  11. res := sysCfgDb.SysCfgFindWithDb(enum.AppName, enum.OpenAppletAppid, enum.OpenAppletPublicKey, enum.OpenAppletAppPublicKey, enum.OpenAppletAppPrivateKey, enum.OpenAppletAesKey,
  12. enum.FileBucket, enum.FileExt, enum.FileAccessKey, enum.FileUserUploadMaxSize, enum.FileSecretKey, enum.FileBucketScheme, enum.FileBucketRegion, enum.FileBucketHost,
  13. )
  14. e.OutSuc(c, res, nil)
  15. return
  16. }