mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-26 21:26:40 +08:00
Compare commits
No commits in common. "5301bedff26d33dff1ad877e1c354525e86f820a" and "2fd3854aeb728ada899a04b6d43e84ee072b41fd" have entirely different histories.
5301bedff2
...
2fd3854aeb
@ -206,13 +206,6 @@ func (s *sSysLog) AnalysisLog(ctx context.Context) entity.SysLog {
|
||||
|
||||
if postData.IsNil() || len(postData.Map()) == 0 {
|
||||
postData = gjson.New(consts.NilJsonToString)
|
||||
} else {
|
||||
// 隐藏明文显示的密码
|
||||
for k := range postData.Map() {
|
||||
if gstr.ContainsI(k, "password") {
|
||||
postData.MustSet(k, "******")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 当前登录用户
|
||||
|
Loading…
Reference in New Issue
Block a user