feat:update userinfo
This commit is contained in:
1 parent
cb06f596e9
commit
b98997a69f
11 files changed
+42
-110
No files matched your search
@@ -14,6 +14,7 @@ import (
|
||||
// UpdateAction 通用更新动作
|
||||
func UpdateAction(m model.ActiveRecord) gin.HandlerFunc {
|
||||
return func(c *gin.Context) {
|
||||
m.SetUpdateBy(tools.GetUserIdStr(c))
|
||||
object := m.Generate()
|
||||
var err error
|
||||
idb, exist := c.Get("db")
|
||||
|
||||
Reference in new issue
Block a user