- InitPlace changed according to autonavi.GetDistricts

This commit is contained in:
gazebo
2018-12-06 10:32:25 +08:00
parent e14ad0d1f7
commit 04815dc5c0

View File

@@ -46,6 +46,7 @@ func InitPlace(ctx *jxcontext.Context) (err error) {
if err = err2; err != nil {
return err
}
placeList = placeList[0].Districts
dao.Begin(db)
defer func() {
dao.Rollback(db)