|
@@ -730,7 +730,7 @@ func (s *subscribePush) GetJyPushs(datas []map[string]interface{}, codeMap *code
|
|
|
industry = iss[0]
|
|
|
}
|
|
|
publishTimeStr := common.InterfaceToStr(v["publishtime"])
|
|
|
- publishTime, _ := time.Parse("2006-01-02 15:04:05", publishTimeStr)
|
|
|
+ publishTime, _ := time.ParseInLocation("2006-01-02 15:04:05", publishTimeStr, time.Local)
|
|
|
subscribeInfo = append(subscribeInfo, &bxsubscribe.SubscribeInfo{
|
|
|
XId: encrypt.EncodeArticleId2ByCheck(common.ObjToString(v["infoid"])),
|
|
|
Title: common.InterfaceToStr(v["title"]),
|
|
@@ -1459,7 +1459,7 @@ func (s *subscribePush) Keys(spqp *KeyParam) (result []*bxsubscribe.KeyItems) {
|
|
|
return nil
|
|
|
}
|
|
|
o_memeberjy := common.ObjToMap((*mData)["o_member_jy"])
|
|
|
- if (*o_memeberjy)["o_area"] != nil {
|
|
|
+ if (*o_memeberjy)["a_items"] != nil {
|
|
|
a_items := common.ObjArrToMapArr((*o_memeberjy)["a_items"].([]interface{}))
|
|
|
for _, v := range a_items {
|
|
|
if v["a_key"] != nil {
|
|
@@ -1599,7 +1599,6 @@ func (s *subscribePush) Keys(spqp *KeyParam) (result []*bxsubscribe.KeyItems) {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
return MapToarr(keyData)
|
|
|
|
|
|
}
|