This commit is contained in:
2024-09-30 16:43:34 +08:00
parent 8d68d6463e
commit ec958a12f4
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -3,7 +3,6 @@ package controller
import (
"crypto/md5"
"encoding/hex"
"fmt"
"github.com/gin-gonic/gin"
"github.com/google/uuid"
"hepa-calc-admin-api/api/dao"
@@ -108,7 +107,6 @@ func (r *AdminUser) AddAdminUser(c *gin.Context) {
// 获取当前登陆用户数据
loginUserId := c.GetInt64("AdminUserId")
fmt.Println(loginUserId)
if loginUserId == 0 {
responses.FailWithMessage("数据错误", c)
return