|
@@ -1127,16 +1127,16 @@ func (c *HisApiController) GetRegisterInfo() {
|
1127
|
1127
|
service.CreateErrMsgLog(errlog)
|
1128
|
1128
|
c.ServeSuccessJSON(map[string]interface{}{
|
1129
|
1129
|
"failed_code": -10,
|
1130
|
|
- "msg": res.ErrMsg,
|
|
1130
|
+ "msg": res2.ErrMsg,
|
1131
|
1131
|
})
|
1132
|
1132
|
return
|
1133
|
|
- //c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeRegisterThreeException)
|
1134
|
|
- //return
|
1135
|
|
- }
|
1136
|
1133
|
|
1137
|
|
- c.ServeSuccessJSON(map[string]interface{}{
|
1138
|
|
- "his_info": his,
|
1139
|
|
- })
|
|
1134
|
+ } else {
|
|
1135
|
+
|
|
1136
|
+ c.ServeSuccessJSON(map[string]interface{}{
|
|
1137
|
+ "his_info": his,
|
|
1138
|
+ })
|
|
1139
|
+ }
|
1140
|
1140
|
|
1141
|
1141
|
} else {
|
1142
|
1142
|
c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
|