1、sms取消号码

This commit is contained in:
2025-07-25 17:22:34 +08:00
parent 854d7bee0c
commit f552188ff9
13 changed files with 393 additions and 190 deletions

View File

@ -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
}