| | |
| | | import me.chanjar.weixin.mp.api.WxMpService; |
| | | import me.chanjar.weixin.mp.api.impl.WxMpServiceImpl; |
| | | import me.chanjar.weixin.mp.config.impl.WxMpRedisConfigImpl; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.data.redis.core.StringRedisTemplate; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | @Slf4j |
| | | public class SocialClientServiceImpl implements SocialClientService { |
| | | |
| | | /** |
| | | * 小程序版本 |
| | | * |
| | | * 1. release:正式版 |
| | | * 2. trial:体验版 |
| | | * 3. developer:开发版 |
| | | */ |
| | | @Value("${yudao.wxa-code.env-version:release}") |
| | | public String envVersion; |
| | | |
| | | @Resource |
| | | private AuthRequestFactory authRequestFactory; |
| | | |