Browse Source

Merge branch 'dev_v1.5.3_wh1' of jianyu/datatools into feature/v1.5.3

王浩 1 năm trước cách đây
mục cha
commit
99ddcf135b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      clueSync/jobutil.go

+ 2 - 1
clueSync/jobutil.go

@@ -334,8 +334,9 @@ func GetAllocation(proportion1, proportion3 float64, deptCount1, deptCount3 int6
 			cfg.AllocationRatio = math.Round(proportion1 / proportion3)
 			cfg.AllocationTime = creatorTime
 			common.WriteSysConfig(&cfg)
+			return administrators1
 		}
-		return administrators1
+
 	}
 	if nowAllocationRatio > cfg.AllocationRatio {
 		return administrators3