mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 10:56:50 +08:00
逗号或空格分割关键字
This commit is contained in:
@@ -267,7 +267,7 @@ public class CourseFullTextApi extends ApiBaseController{
|
||||
|
||||
if (StringUtils.isNotBlank(c.getKeywords()) ){
|
||||
String[] keywords = c.getKeywords().split(",");
|
||||
if (keywords.length == 0){
|
||||
if (keywords.length == 1){
|
||||
keywords = c.getKeywords().split(" ");
|
||||
}
|
||||
if (keywords.length > 0){
|
||||
|
||||
Reference in New Issue
Block a user