controllers/restriction.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
service/userService.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/restriction.go
@@ -32,7 +32,7 @@ } else { resp.Success= false resp.Status= http.StatusBadRequest resp.Data= nil resp.Data= "数据请求失败,请稍后重试" } c.Data["json"] = resp c.ServeJSON() service/userService.go
@@ -39,7 +39,7 @@ } } else { //用户已存在 var userCar models.UserCar var plateNos []string var plateNos = make([]string, 0) all, e := userCar.GetByUserId(tmpUser.Id) if e == nil && all != nil { for _,up := range all {