You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

material.go 336 B

12345678910111213
  1. package wechat
  2. import "code.gitea.io/gitea/modules/log"
  3. func GetWechatMaterial(mType string, offset, count int) interface{} {
  4. result, retryFlag := getMaterial(mType, offset, count)
  5. if retryFlag {
  6. log.Info("retryGetWechatMaterial calling")
  7. refreshAccessToken()
  8. result, _ = getMaterial(mType, offset, count)
  9. }
  10. return result
  11. }