智盟项目
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

hdl_kuaishou_auth.go 559 B

7 个月前
7 个月前
7 个月前
7 个月前
7 个月前
12345678910111213141516
  1. package hdl
  2. import (
  3. "applet/app/db"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func KuaishouAuth(c *gin.Context) {
  7. kuaishouOfficialAccessToken := c.PostForm("access_token")
  8. db.MasterListCfgSave("0", "kuaishou_official_access_token", kuaishouOfficialAccessToken)
  9. kuaishouOfficialExpiresIn := c.PostForm("expires_in")
  10. db.MasterListCfgSave("0", "kuaishou_official_expires_in", kuaishouOfficialExpiresIn)
  11. kuaishouOfficialRefreshToken := c.PostForm("refresh_token")
  12. db.MasterListCfgSave("0", "kuaishou_official_refresh_token", kuaishouOfficialRefreshToken)
  13. return
  14. }