Update chatAutoReplyRulerHandler.go
This commit is contained in:
parent
be6d4dbb63
commit
b39f315ac2
@ -111,7 +111,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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user