|
@@ -6,6 +6,7 @@ import (
|
|
|
"fmt"
|
|
|
IC "jyBXSubscribe/rpc/init"
|
|
|
"jyBXSubscribe/rpc/model"
|
|
|
+ "jyBXSubscribe/rpc/util"
|
|
|
"log"
|
|
|
"strings"
|
|
|
|
|
@@ -38,8 +39,9 @@ func (l *GetViewStatusLogic) GetViewStatus(in *bxsubscribe.GetViewStatusReq) (*b
|
|
|
ss []string
|
|
|
finsql string
|
|
|
)
|
|
|
+ in.InfoId = util.DecodeId(in.InfoId)
|
|
|
+ log.Println("查看状态参数", in)
|
|
|
res := new(bxsubscribe.ViewStatusResp)
|
|
|
-
|
|
|
finsql = `SELECT userid,isvisit,visittime,date FROM pushentniche where infoid =? and source in (2,3) order By date asc`
|
|
|
if user.Role_admin_department {
|
|
|
users = model.GetDisUsers(common.IntAll(in.EntId), user.Dept.Id)
|