Compare commits
No commits in common. "417d0aac813e7da8bfd4063d24a73e7ba85deeb0" and "df5aa0e316d6791d885cc688f1533591340325fa" have entirely different histories.
417d0aac81
...
df5aa0e316
@ -48,7 +48,6 @@ 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)
|
||||||
@ -76,7 +75,6 @@ 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