@ -48,6 +48,7 @@ func CheckByPhone(c *gin.Context) {
response.ResponseQuickMsg(c, msg.Fail, err.Error(), nil)
return
}
if resp.IsExist {
img := resp.Data.IdCardBackPhoto
response1, err := http.Get(img)
@ -75,6 +76,7 @@ func CheckByPhone(c *gin.Context) {
resp.Data.IdCardStartDate = result.IssueDate
resp.Data.IdCardEndDate = result.ExpirationDate
response.ResponseQuickMsg(c, msg.Ok, resp.Msg, resp)