commit
630a075470
@ -48,7 +48,8 @@ public class JavaMailServiceImpl implements JavaMailService {
|
|||||||
private String USERNAME;
|
private String USERNAME;
|
||||||
@Value("${spring.mail.password}")
|
@Value("${spring.mail.password}")
|
||||||
private String PASSWORD;
|
private String PASSWORD;
|
||||||
private final static String BASE_URL = "https://rymcu.com";
|
@Value("${resource.domain}")
|
||||||
|
private String BASE_URL;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Integer sendEmailCode(String email) throws MessagingException {
|
public Integer sendEmailCode(String email) throws MessagingException {
|
||||||
|
@ -11,8 +11,9 @@ import java.util.concurrent.*;
|
|||||||
*/
|
*/
|
||||||
public class BaiDuUtils {
|
public class BaiDuUtils {
|
||||||
|
|
||||||
private static String token = "9cdKR6bVCJzxDEJS";
|
private final static String token = "9cdKR6bVCJzxDEJS";
|
||||||
private static String site = "https://rymcu.com";
|
|
||||||
|
private final static String site = "https://rymcu.com";
|
||||||
|
|
||||||
public static void sendSEOData(String permalink) {
|
public static void sendSEOData(String permalink) {
|
||||||
if (StringUtils.isBlank(permalink) || StringUtils.isBlank(token)) {
|
if (StringUtils.isBlank(permalink) || StringUtils.isBlank(token)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user