|
@@ -50,12 +50,13 @@ public class PlatformLoginUserDetailService implements UserDetailsService {
|
|
|
@Autowired
|
|
|
private RedisUtil redisUtil;
|
|
|
|
|
|
+ @Value("${platform_appid}")
|
|
|
+ private String appId;
|
|
|
|
|
|
- private String appId="1001";
|
|
|
-
|
|
|
-
|
|
|
- private String appSecret="123456";
|
|
|
- private String url="http://192.168.0.113:8081/user-auth/user/getUniqId?appId={appId}&appSecret={appSecret}&code={code}";
|
|
|
+ @Value("${platform_appSecret}")
|
|
|
+ private String appSecret;
|
|
|
+ @Value("${platform_url}")
|
|
|
+ private String url;
|
|
|
|
|
|
private String sendApiReQuest(String path , Map<String, Object> map){
|
|
|
|