删除调试信息
This commit is contained in:
parent
949be8efaa
commit
b8355c0e27
@ -1,8 +1,6 @@
|
|||||||
package governance
|
package governance
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
|
||||||
"fmt"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
@ -79,8 +77,6 @@ func Edit(ctx *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
user := login.GetUserInfoFromC(ctx)
|
user := login.GetUserInfoFromC(ctx)
|
||||||
b, _ := json.Marshal(user)
|
|
||||||
fmt.Println("用户信息", string(b))
|
|
||||||
req.Operator = user.Name
|
req.Operator = user.Name
|
||||||
req.OperatorId = int32(user.ID)
|
req.OperatorId = int32(user.ID)
|
||||||
resp, err := service.GovernanceProvider.Edit(ctx, &req)
|
resp, err := service.GovernanceProvider.Edit(ctx, &req)
|
||||||
|
Loading…
Reference in New Issue
Block a user