|
@@ -324,13 +324,9 @@ func (m *Mobile) AjaxReq() error {
|
|
|
|
|
|
//推送列表
|
|
|
func (m *Mobile) WxpushList(s_m_openid string, _id string, msgid string) error {
|
|
|
- /**
|
|
|
- go func() {
|
|
|
- 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["_id"] = _id
|
|
|
+ m.T["signature"] = GetSignature(m.Url())
|
|
|
return m.Render("/swordfish/wxpush.html", &m.T)
|
|
|
}
|
|
|
|