package hdl import ( "applet/app/db" "github.com/gin-gonic/gin" ) func KuaishouAuth(c *gin.Context) { kuaishouOfficialAccessToken := c.PostForm("access_token") db.MasterListCfgSave("0", "kuaishou_official_access_token", kuaishouOfficialAccessToken) kuaishouOfficialExpiresIn := c.PostForm("expires_in") db.MasterListCfgSave("0", "kuaishou_official_expires_in", kuaishouOfficialExpiresIn) kuaishouOfficialRefreshToken := c.PostForm("refresh_token") db.MasterListCfgSave("0", "kuaishou_official_refresh_token", kuaishouOfficialRefreshToken) return }