🎨 代码结构优化
This commit is contained in:
parent
70e243664c
commit
659c1b7166
@ -100,7 +100,7 @@ public class BaiDuUtils {
|
||||
},executor);
|
||||
}
|
||||
|
||||
public static void main(){
|
||||
public static void main(String[] args){
|
||||
sendUpdateSEOData("https://rymcu.com");
|
||||
}
|
||||
}
|
||||
|
@ -92,6 +92,6 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB
|
||||
* 检查ApplicationContext不为空.
|
||||
*/
|
||||
private static void assertContextInjected() {
|
||||
Validate.validState(applicationContext != null, "applicaitonContext属性未注入, 请在applicationContext.xml中定义SpringContextHolder.");
|
||||
Validate.validState(applicationContext != null, "application Context属性未注入, 请在applicationContext.xml中定义SpringContextHolder.");
|
||||
}
|
||||
}
|
@ -2,7 +2,6 @@ package com.rymcu.vertical.web.api.comment;
|
||||
|
||||
import com.rymcu.vertical.core.result.GlobalResult;
|
||||
import com.rymcu.vertical.core.result.GlobalResultGenerator;
|
||||
import com.rymcu.vertical.dto.ArticleDTO;
|
||||
import com.rymcu.vertical.entity.Comment;
|
||||
import com.rymcu.vertical.service.CommentService;
|
||||
import com.rymcu.vertical.web.api.exception.BaseApiException;
|
||||
|
Loading…
Reference in New Issue
Block a user