1
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@@ -224,3 +225,12 @@ func TestQueryBillList(t *testing.T) {
|
||||
|
||||
globals.SugarLogger.Debugf("data:= %s", utils.Format4Output(data, false))
|
||||
}
|
||||
|
||||
func TestName2(t *testing.T) {
|
||||
emoji := `【右上角关注点亮⭐️】`
|
||||
a := replaceContentOther(emoji)
|
||||
fmt.Println(a)
|
||||
}
|
||||
func replaceContentOther(content string) string {
|
||||
return strings.ReplaceAll(strings.ReplaceAll(content, "⃣️", " "), "•", "-")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user