[−][src]Function identitycard::codes::get_loc_code
pub fn get_loc_code(loc: &str) -> Result<String, String>
根据省市名称获取省市的代码
传入的是省市的名称,返回的是编码
pub fn get_loc_code(loc: &str) -> Result<String, String>
根据省市名称获取省市的代码
传入的是省市的名称,返回的是编码