|
@@ -1,11 +1,12 @@
|
|
package util
|
|
package util
|
|
|
|
|
|
import (
|
|
import (
|
|
|
|
+ IC "jyBXCore/rpc/init"
|
|
|
|
+ "strings"
|
|
|
|
+
|
|
MC "app.yhyue.com/moapp/jybase/common"
|
|
MC "app.yhyue.com/moapp/jybase/common"
|
|
"app.yhyue.com/moapp/jybase/mongodb"
|
|
"app.yhyue.com/moapp/jybase/mongodb"
|
|
"app.yhyue.com/moapp/jybase/mysql"
|
|
"app.yhyue.com/moapp/jybase/mysql"
|
|
- IC "jyBXCore/rpc/init"
|
|
|
|
- "strings"
|
|
|
|
)
|
|
)
|
|
|
|
|
|
// VipState 是否是付费用户
|
|
// VipState 是否是付费用户
|
|
@@ -76,11 +77,11 @@ func (vs *VipState) GetQueryItems(selectType string, limitOldTime int64) (items
|
|
if t == "content" {
|
|
if t == "content" {
|
|
items = append(items, "detail")
|
|
items = append(items, "detail")
|
|
} else if t == "buyer" {
|
|
} else if t == "buyer" {
|
|
- items = append(items, "mbuyer")
|
|
|
|
|
|
+ items = append(items, "buyer.mbuyer")
|
|
} else if t == "winner" {
|
|
} else if t == "winner" {
|
|
- items = append(items, "mwinner")
|
|
|
|
|
|
+ items = append(items, "s_winner.mwinner")
|
|
} else if t == "agency" {
|
|
} else if t == "agency" {
|
|
- items = append(items, "magency")
|
|
|
|
|
|
+ items = append(items, "agency.magency")
|
|
} else if t == "title" {
|
|
} else if t == "title" {
|
|
items = append(items, "title")
|
|
items = append(items, "title")
|
|
} else if t == "ppa" {
|
|
} else if t == "ppa" {
|
|
@@ -95,7 +96,7 @@ func (vs *VipState) GetQueryItems(selectType string, limitOldTime int64) (items
|
|
isOldUser := vs.RegisterData != 0 && vs.RegisterData < limitOldTime
|
|
isOldUser := vs.RegisterData != 0 && vs.RegisterData < limitOldTime
|
|
for _, t := range strings.Split(selectType, ",") {
|
|
for _, t := range strings.Split(selectType, ",") {
|
|
if t == "winner" && isOldUser {
|
|
if t == "winner" && isOldUser {
|
|
- items = append(items, "mwinner")
|
|
|
|
|
|
+ items = append(items, "s_winner.mwinner")
|
|
} else if t == "title" {
|
|
} else if t == "title" {
|
|
items = append(items, "title")
|
|
items = append(items, "title")
|
|
} else if t == "content" {
|
|
} else if t == "content" {
|