Sfoglia il codice sorgente

大会员订阅处理

WH01243 10 mesi fa
parent
commit
bc2504bfc3
1 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. 7 3
      clueSync/subscribeAll.go

+ 7 - 3
clueSync/subscribeAll.go

@@ -1,6 +1,7 @@
 package main
 
 import (
+	"github.com/gogf/gf/v2/util/gconv"
 	"strings"
 	"time"
 
@@ -36,9 +37,12 @@ func FormatSubscribeAllData(data map[string]interface{}) {
 	keywords := ""
 	keyArrs := []string{}
 	if data["o_member_jy"] != nil {
-		stype = "大会员订阅"
-		types = "o_member_jy"
-	} else {
+		if gconv.Int64(data["i_member_status"]) > 0 {
+			stype = "大会员订阅"
+			types = "o_member_jy"
+		}
+	}
+	if stype == "" {
 		if data["o_vipjy"] != nil {
 			stype = "超级订阅"
 			types = "o_vipjy"