|
@@ -39,7 +39,7 @@ func (t *InitInfoService) UpdateInitInfo(company, business string) bool {
|
|
fool = JianyuMysql.Update("entniche_info", map[string]interface{}{
|
|
fool = JianyuMysql.Update("entniche_info", map[string]interface{}{
|
|
"id": t.EntId,
|
|
"id": t.EntId,
|
|
}, map[string]interface{}{
|
|
}, map[string]interface{}{
|
|
- "identityInfo": string(info),
|
|
|
|
|
|
+ "identity_info": string(info),
|
|
})
|
|
})
|
|
|
|
|
|
}
|
|
}
|
|
@@ -73,8 +73,8 @@ func (t *InitInfoService) FindInitInfo() map[string]interface{} {
|
|
entInfo := JianyuMysql.FindOne("entniche_info", map[string]interface{}{
|
|
entInfo := JianyuMysql.FindOne("entniche_info", map[string]interface{}{
|
|
"id": t.EntId,
|
|
"id": t.EntId,
|
|
}, "", "")
|
|
}, "", "")
|
|
- if (*entInfo)["identityInfo"] != nil {
|
|
|
|
- entMap := gconv.Map((*entInfo)["identityInfo"])
|
|
|
|
|
|
+ if (*entInfo)["identity_info"] != nil {
|
|
|
|
+ entMap := gconv.Map((*entInfo)["identity_info"])
|
|
returnJson["company"] = entMap["company"]
|
|
returnJson["company"] = entMap["company"]
|
|
returnJson["business"] = entMap["business"]
|
|
returnJson["business"] = entMap["business"]
|
|
}
|
|
}
|