1、在线支付
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled

2、查询平台剩余字符数
This commit is contained in:
2025-07-07 19:01:54 +08:00
parent 68f3105dff
commit f3ca87fb54
24 changed files with 789 additions and 114 deletions

View File

@ -27,3 +27,13 @@ func ContainsInt(arr []int, v int) bool {
}
return false
}
func ContainsString(arr []string, v string) bool {
for _, a := range arr {
if a == v {
return true
}
}
return false
}