Compare commits

..

No commits in common. "244901bf6a7d20419569cc8368c370e88b886b50" and "9b13f753e69ccbc212c6f8995d0477ffa5fffd74" have entirely different histories.

View File

@ -113,7 +113,7 @@ func (a *ChatAutoReplyRulerHandler) GetChatAutoReplyRulerList(c *gin.Context) {
var protoReq = accountFiee.GetChatAutoReplyRulerListRequest{Query: &accountFiee.ChatAutoReplyRulerData{}} var protoReq = accountFiee.GetChatAutoReplyRulerListRequest{Query: &accountFiee.ChatAutoReplyRulerData{}}
utils.RequestDataConvert(&req, &protoReq) utils.RequestDataConvert(&req, &protoReq)
if req.RuleType != "" { if req.RuleType != "" {
protoReq.Where = fmt.Sprintf("ruler LIKE '%%%s\":{\"enable\":true%%'", req.RuleType) protoReq.Where = fmt.Sprintf("ruler LIKE '%%%s\":{\"enable\":true}%%'", req.RuleType)
} }
resp, err := service.AccountFieeProvider.GetChatAutoReplyRulerList(c, &protoReq) resp, err := service.AccountFieeProvider.GetChatAutoReplyRulerList(c, &protoReq)
if err != nil { if err != nil {