master
huanghai 5 years ago
parent 28798c1b79
commit 7fb5be2038

@ -61,7 +61,7 @@ func ListBasePositionByBureauId(in *BasePositionProto.ListBasePositionByBureauId
return nil, -1, errors.New("无法找到指定的单位ID") return nil, -1, errors.New("无法找到指定的单位ID")
} }
//2、这个单位ID是哪个类型的org_type //2、这个单位ID是哪个类型的org_type
orgType := list[0]["org_type"].(int64) orgType := list[0]["org_type"].(float64)
//区域代码 //区域代码
areaCode := list[0]["area_code"].(string) areaCode := list[0]["area_code"].(string)
//办学类型 //办学类型

Loading…
Cancel
Save