renzheng 9 年 前
コミット
7c177c3f55
1 ファイル変更1 行追加5 行削除
  1. 1 5
      core/src/qfw/mobile/wxmenu.go

+ 1 - 5
core/src/qfw/mobile/wxmenu.go

@@ -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)
 }