11
This commit is contained in:
parent
f5b541ed73
commit
405afee50a
@ -3,7 +3,6 @@ package application
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/fonchain_enterprise/micro-account/api/account"
|
||||
"github.com/fonchain_enterprise/micro-account/pkg/m"
|
||||
"github.com/fonchain_enterprise/micro-account/pkg/model"
|
||||
)
|
||||
|
||||
@ -139,7 +138,7 @@ func List(in *account.ListV2Request, limit int, offset int) ([]*model.User, int6
|
||||
}
|
||||
|
||||
func SynNickName(in *account.UpdateRequest) {
|
||||
if in.Domain == m.DefaultDomain {
|
||||
model.DB.Table(authDb+".hierarchy_department_user").Where("user_id = ?", in.ID).Update("user_name", in.NickName)
|
||||
}
|
||||
//if in.Domain == m.DefaultDomain {
|
||||
// model.DB.Table(authDb+".hierarchy_department_user").Where("user_id = ?", in.ID).Update("user_name", in.NickName)
|
||||
//}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user