1231123
This commit is contained in:
@@ -135,7 +135,7 @@ public class RankAppController {
|
||||
|
||||
@GetMapping("/invite")
|
||||
@Operation(summary = "邀请榜")
|
||||
@Log(title = "魅力榜单查询", businessType = BusinessType.OTHER, isPrintResponseData = true, isSaveDb = false)
|
||||
@Log(title = "邀请榜单查询", businessType = BusinessType.OTHER, isPrintResponseData = true, isSaveDb = false)
|
||||
public R<List<RankNodeInvite>> inviteRank(
|
||||
@Parameter(description = "类型 1-上周 2-昨日 3-日榜 4-周榜 5-月榜 6-总榜") Integer type){
|
||||
if(type == null){
|
||||
@@ -196,6 +196,7 @@ public class RankAppController {
|
||||
return R.ok(res);
|
||||
}
|
||||
|
||||
|
||||
private static String minNickname(String nickname){
|
||||
if(StringUtils.isEmpty(nickname)){
|
||||
return "*";
|
||||
@@ -207,7 +208,7 @@ public class RankAppController {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(minNickname("Hello, this is a string with an emoji! \uD83D\uDE01"));
|
||||
System.out.println(minNickname("画画的北北\uD83E\uDD84"));
|
||||
}
|
||||
|
||||
public static boolean containsEmoji(String source) {
|
||||
|
||||
Reference in New Issue
Block a user