Exemple #1
0
func (c *MesssageController) IsSencMessage() {
	b, _ := c.GetBool("issend")
	var s conn.Setting
	s.Isconnected = b
	err := s.UpdateIsConnected()
	if err != nil {
		c.Ctx.WriteString(err.Error())
	} else {
		c.Ctx.WriteString("ok")
	}
}