wangkaiyue %!s(int64=2) %!d(string=hai) anos
pai
achega
b373757f1d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jyBXSubscribe/rpc/model/staffSubscribe.go

+ 1 - 1
jyBXSubscribe/rpc/model/staffSubscribe.go

@@ -35,7 +35,7 @@ type PersonSubscribe struct {
 
 // IsEmpty 判断订阅内容是否为空
 func (p *PersonSubscribe) IsEmpty() bool {
-	if len(p.AItems) > 0 || len(p.AInfotype) > 0 || len(p.ABuyerclass) > 0 || len(p.OArea) > 0 {
+	if len(p.AInfotype) > 0 || len(p.ABuyerclass) > 0 || len(p.OArea) > 0 {
 		return false
 	}
 	// 遍历订阅词