|
@@ -250,6 +250,9 @@ func GetCygxProductInteriorHistoryListPvMap(productInteriorIs []int) (mapPv map[
|
|
|
|
|
|
// 用户产品内测阅读,模板消息推送
|
|
// 用户产品内测阅读,模板消息推送
|
|
func ProductInteriorHistoryUserRmind(user *models.WxUserItem, productInteriorId int) (err error) {
|
|
func ProductInteriorHistoryUserRmind(user *models.WxUserItem, productInteriorId int) (err error) {
|
|
|
|
+ if user.UserId == 0 {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
//30秒内阅读同一篇报告不做重复推送
|
|
//30秒内阅读同一篇报告不做重复推送
|
|
key := "CYGX_" + utils.CYGX_OBJ_PRODUCTINTERIOR + "_READ" + strconv.Itoa(productInteriorId) + "_" + strconv.Itoa(user.UserId)
|
|
key := "CYGX_" + utils.CYGX_OBJ_PRODUCTINTERIOR + "_READ" + strconv.Itoa(productInteriorId) + "_" + strconv.Itoa(user.UserId)
|
|
if utils.Rc.IsExist(key) {
|
|
if utils.Rc.IsExist(key) {
|