Commit 03e44608 authored by pete谢兆麟's avatar pete谢兆麟

工作经验国家值修改

parent a3166828
......@@ -255,6 +255,12 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
// 0保存 1下一步
func saveWorkDetail(_ saveType: Int, orderID: Int, callBackBlock:@escaping (_ success: Bool?, _ error:YHErrorModel?)->()) {
if mainModel.location.country.contains("中国") {
mainModel.location_aboard = 0
} else {
mainModel.location_aboard = 1
}
let area: [String] = mainModel.location.area
let location = ["area": area,
"country": mainModel.location.country,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment