|
@@ -16,9 +16,11 @@ type Wxpush struct {
|
|
|
|
|
|
//推送列表
|
|
//推送列表
|
|
func (w *Wxpush) WxpushList(s_m_openid string, _id string, msgid string) error {
|
|
func (w *Wxpush) WxpushList(s_m_openid string, _id string, msgid string) error {
|
|
|
|
+ /**
|
|
go func() {
|
|
go func() {
|
|
mongodb.Update("message", `{"_id":"`+msgid+`"}`, `{"$set":{"i_status":1}}`, false, false)
|
|
mongodb.Update("message", `{"_id":"`+msgid+`"}`, `{"$set":{"i_status":1}}`, false, false)
|
|
}()
|
|
}()
|
|
|
|
+ **/
|
|
w.T["data"] = *mongodb.FindById("wxpush", _id, `{"s_content":1,"s_words":1,"a_visitedindex":1,"a_publishtime":1}`)
|
|
w.T["data"] = *mongodb.FindById("wxpush", _id, `{"s_content":1,"s_words":1,"a_visitedindex":1,"a_publishtime":1}`)
|
|
w.T["_id"] = _id
|
|
w.T["_id"] = _id
|
|
return w.Render("/wxpush/index.html", &w.T)
|
|
return w.Render("/wxpush/index.html", &w.T)
|