智盟项目
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_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. }