初步完成用户电子邮箱绑定(激活)

This commit is contained in:
刘祥超
2022-12-08 20:25:46 +08:00
parent 781c851571
commit 1ab849d9b0
23 changed files with 302 additions and 161 deletions

View File

@@ -92,7 +92,7 @@ func (this *HealthCheckClusterTask) Stop() {
// Loop 单个循环任务
func (this *HealthCheckClusterTask) Loop() error {
// 检查是否为主节点
if !models.SharedAPINodeDAO.CheckAPINodeIsPrimaryWithoutErr() {
if !this.IsPrimaryNode() {
return nil
}