mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 21:11:29 +00:00
statistics lock
This commit is contained in:
parent
90999717dd
commit
c0c113036b
@ -117,6 +117,8 @@ 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{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user