- 该demo为ByteDanceOpen SDK用法示例
- 根据字节跳动开放平台文档指引,申请好账号后,将自己的appid等数据填入
application-dev.yml
-
access_token
等数据都是保存在redis中,所以需要一个redis服务 -
为了方便使用,项目中提供了一个默认的
redis.conf
, 只修改了两个配置:# 把protected-mode改为了no protected-mode no # 注释了bind # bind 127.0.0.1 ::1
-
本项目使用的redis客户端是redisson,可以在
application-dev.yml
指定redis的配置文件。如果想要使用jedis,可以自己实现一个IByteDanceRedisOps