This commit is contained in:
wangchuxiao
2022-09-06 17:19:13 +08:00
parent 5233e4c097
commit 099461dbbf
5 changed files with 219 additions and 187 deletions
+2
View File
@@ -85,6 +85,8 @@ func AdminLogin(c *gin.Context) {
c.JSON(http.StatusInternalServerError, gin.H{"errCode": 500, "errMsg": err.Error()})
return
}
resp.FaceURL = respPb.FaceURL
resp.UserName = respPb.UserName
resp.Token = respPb.Token
c.JSON(http.StatusOK, gin.H{"errCode": respPb.CommonResp.ErrCode, "errMsg": respPb.CommonResp.ErrMsg, "data": resp})
}