mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 15:20:54 +00:00
commit
81328b72fa
@ -117,7 +117,9 @@ func (m *URLMap) GetMap() map[string]interface{} {
|
|||||||
|
|
||||||
// GetMapData return all mapdata
|
// GetMapData return all mapdata
|
||||||
func (m *URLMap) GetMapData() []map[string]interface{} {
|
func (m *URLMap) GetMapData() []map[string]interface{} {
|
||||||
|
m.lock.Lock()
|
||||||
|
defer m.lock.Unlock()
|
||||||
|
|
||||||
var resultLists []map[string]interface{}
|
var resultLists []map[string]interface{}
|
||||||
|
|
||||||
for k, v := range m.urlmap {
|
for k, v := range m.urlmap {
|
||||||
|
Loading…
Reference in New Issue
Block a user