Ver código fonte

客成去重

WH01243 5 meses atrás
pai
commit
a2d592ffa0
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      clueSync/kc.go

+ 5 - 0
clueSync/kc.go

@@ -35,11 +35,16 @@ func kcSync() {
 			if (product_type == "大会员" || product_type == "企业商机管理") && ((order_change != 0) || (order_change == 0 && TimeStrcount(vip_starttime, vip_endtime) > 95)) {
 				orderCode := gconv.String(v["order_code"])
 				arr = append(arr, orderCode)
+				isExit := false
 				for _, v := range customList {
 					if v == orderCode {
+						isExit = true
 						continue
 					}
 				}
+				if isExit {
+					continue
+				}
 				status := kcJob(v)
 				if status == 0 {
 					break