Added location for aps.
This commit is contained in:
parent
0c6ee07e24
commit
5cb47c7c2f
@ -37,9 +37,10 @@ func ApsQuery() []Ap {
|
||||
bruh int
|
||||
name string
|
||||
uwec int
|
||||
location string
|
||||
)
|
||||
rows.Scan(&uwec, &ip, &name, &bruh)
|
||||
array = append(array, Ap{ip, name, bruh})
|
||||
rows.Scan(&uwec, &ip, &name, &bruh, &location)
|
||||
array = append(array, Ap{ip, name, bruh, location})
|
||||
}
|
||||
return array
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ type Ap struct {
|
||||
IP string
|
||||
Name string
|
||||
Type int
|
||||
Location string
|
||||
}
|
||||
|
||||
type ApModel struct {
|
||||
|
Loading…
Reference in New Issue
Block a user