mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 18:53:43 +08:00
opt:update mj api version, wrapper chat api error message as a constant
This commit is contained in:
@@ -61,7 +61,7 @@ func (h *ChatHandler) sendBaiduMessage(
|
||||
}
|
||||
|
||||
utils.ReplyMessage(ws, ErrorMsg)
|
||||
utils.ReplyMessage(ws, "")
|
||||
utils.ReplyMessage(ws, ErrImg)
|
||||
return err
|
||||
} else {
|
||||
defer response.Body.Close()
|
||||
|
||||
Reference in New Issue
Block a user