|
@@ -82,7 +82,7 @@ func (l *GetSubSomeInfoLogic) GetSubSomeInfo(in *bxsubscribe.SomeInfoReq) (*bxsu
|
|
today_1 := t.Unix()
|
|
today_1 := t.Unix()
|
|
today_2 := t.AddDate(0, 0, 1).Unix()
|
|
today_2 := t.AddDate(0, 0, 1).Unix()
|
|
//错误
|
|
//错误
|
|
- if IC.BaseServiceMysql.CountBySql(fmt.Sprintf("select count(1) as count from %s a left join global_common_data.dws_f_bid_baseinfo b on a.infoid=b.infoid where a.isvip =1 and a.userid =? and b.buyerclass_code=? and (a.date between ? and ? )", common.InterfaceToStr(in.NewUserId), 93, today_1, today_2), model.NewSubscribePush("vType")) > 0 {
|
|
|
|
|
|
+ if IC.BaseServiceMysql.CountBySql("select count(1) as count from push.pushsubscribe where isvip =1 and userid =? and buyerclass=? and (date between ? and ? )", common.InterfaceToStr(in.NewUserId), 93, today_1, today_2) > 0 {
|
|
resp.Data.OtherFlag = true
|
|
resp.Data.OtherFlag = true
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|