更新
This commit is contained in:
parent
9fda485552
commit
838e55ccb2
@ -48,6 +48,7 @@ func CheckByPhone(c *gin.Context) {
|
|||||||
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if resp.IsExist {
|
||||||
img := resp.Data.IdCardBackPhoto
|
img := resp.Data.IdCardBackPhoto
|
||||||
|
|
||||||
response1, err := http.Get(img)
|
response1, err := http.Get(img)
|
||||||
@ -75,6 +76,7 @@ func CheckByPhone(c *gin.Context) {
|
|||||||
|
|
||||||
resp.Data.IdCardStartDate = result.IssueDate
|
resp.Data.IdCardStartDate = result.IssueDate
|
||||||
resp.Data.IdCardEndDate = result.ExpirationDate
|
resp.Data.IdCardEndDate = result.ExpirationDate
|
||||||
|
}
|
||||||
|
|
||||||
response.ResponseQuickMsg(c, msg.Ok, resp.Msg, resp)
|
response.ResponseQuickMsg(c, msg.Ok, resp.Msg, resp)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user