Fix #871
This commit is contained in:
@@ -97,7 +97,7 @@ if m, _ := regexp.MatchString(`^(1[3|4|5|8][0-9]\d{4,8})$`, r.Form.Get("mobile")
|
||||
slice:=[]string{"apple","pear","banane"}
|
||||
|
||||
v := r.Form.Get("fruit")
|
||||
for _, item range slice {
|
||||
for _, item := range slice {
|
||||
if item == v {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user