|
func (m *Mobile) WxpushList(s_m_openid string, _id string, msgid string) error {
|
|
func (m *Mobile) WxpushList(s_m_openid string, _id string, msgid string) error {
|
|
- mongodb.Update("message", `{"_id":"`+msgid+`"}`, `{"$set":{"i_status":1}}`, false, false)
|
|
|
|
m.T["data"] = *mongodb.FindById("wxpush", _id, `{"s_content":1,"s_words":1,"a_visitedindex":1,"a_publishtime":1,"s_type":1}`)
|
|
m.T["data"] = *mongodb.FindById("wxpush", _id, `{"s_content":1,"s_words":1,"a_visitedindex":1,"a_publishtime":1,"s_type":1}`)
|
|
return m.Render("/swordfish/wxpush.html", &m.T)
|
|
return m.Render("/swordfish/wxpush.html", &m.T)
|