一、application.yml配置 ? Spring boot,二、RedisService 配置 package com.example.song.service; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.RedisTemplate;import
时间:2023-10-21 | 阅读:32