加入消息通知类型选择

This commit is contained in:
marvzhang
2020-01-15 14:39:51 +08:00
parent 1fde42b932
commit b70949cc87
8 changed files with 101 additions and 75 deletions

10
backend/utils/array.go Normal file
View File

@@ -0,0 +1,10 @@
package utils
func StringArrayContains(arr []string, str string) bool {
for _, s := range arr {
if s == str {
return true
}
}
return false
}