qiniu.go 252 B

12345678910111213
  1. package controller
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "project_management/app/e"
  5. "project_management/utils"
  6. )
  7. func GetQiniuToken(c *gin.Context) {
  8. T_suffix := c.Query("T_suffix")
  9. token := utils.GetToken(T_suffix)
  10. e.ResponseSuccess(c, token)
  11. }