ga日志优化
This commit is contained in:
parent
14807a52ed
commit
0e425f0355
@ -1,6 +1,8 @@
|
||||
package ga
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
galog "github.com/tuyou/galog"
|
||||
)
|
||||
|
||||
@ -22,7 +24,7 @@ func init() {
|
||||
func GAlogEvent(event string, userID string, deviceID string, properties map[string]interface{}) {
|
||||
newProperties := make(map[string]interface{})
|
||||
for k, v := range properties {
|
||||
newProperties["proj_"+k] = v
|
||||
newProperties["proj_"+k] = fmt.Sprintf("%v", v)
|
||||
}
|
||||
properties = newProperties
|
||||
glogger.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user