|
@@ -1,14 +1,15 @@
|
|
|
package logic
|
|
|
|
|
|
import (
|
|
|
- "app.yhyue.com/moapp/jybase/common"
|
|
|
"context"
|
|
|
- "github.com/zeromicro/go-zero/core/logx"
|
|
|
IC "jyBXSubscribe/rpc/init"
|
|
|
"jyBXSubscribe/rpc/internal/svc"
|
|
|
"jyBXSubscribe/rpc/model"
|
|
|
"jyBXSubscribe/rpc/type/bxsubscribe"
|
|
|
"time"
|
|
|
+
|
|
|
+ "app.yhyue.com/moapp/jybase/common"
|
|
|
+ "github.com/zeromicro/go-zero/core/logx"
|
|
|
)
|
|
|
|
|
|
type GetSubListLogic struct {
|
|
@@ -32,6 +33,9 @@ func (l *GetSubListLogic) GetSubList(in *bxsubscribe.SubscribeInfosReq) (*bxsubs
|
|
|
//超级订阅 i_apppushunread=0
|
|
|
//大会员 i_member_apppushunread=0
|
|
|
//商机管理 i_entniche_apppushunread=0
|
|
|
+ if in.IsEnt {
|
|
|
+ in.UserType = model.EntnicheFlag
|
|
|
+ }
|
|
|
if in.PageNum == 1 {
|
|
|
go model.UpdateUserPushUnread(in.UserId, in.UserType)
|
|
|
}
|