1、sms取消号码
This commit is contained in:
@ -75,6 +75,14 @@ func (e *SysConfig) Update(c *dto.SysConfigControl) error {
|
||||
return errors.New("无权更新该数据")
|
||||
|
||||
}
|
||||
|
||||
// if c.ConfigKey == "proxy_dash_email" || c.ConfigKey == "proxy_dash_password" {
|
||||
// e.Log.Info("更新了邮箱或密码,刷新token")
|
||||
// proxyService := CliProxyService{Service: e.Service}
|
||||
// if _, err := proxyService.resetToken(); err != nil {
|
||||
// e.Log.Errorf("修改配置重置token失败:%s", err)
|
||||
// }
|
||||
// }
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user