Compare commits
No commits in common. "4e9091bd4b24a7667fc6dad0a9c2d27370b3d5a0" and "b2e9b0c2d14c1c95055158eb7588f1e9ab4cbbc3" have entirely different histories.
4e9091bd4b
...
b2e9b0c2d1
@ -112,9 +112,6 @@ 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 != "" {
|
|
||||||
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 {
|
||||||
service.Error(c, err)
|
service.Error(c, err)
|
||||||
|
@ -152,7 +152,6 @@ type GetChatAutoReplyRulerListRequest struct {
|
|||||||
Page int64 `json:"page"`
|
Page int64 `json:"page"`
|
||||||
PageSize int64 `json:"pageSize"`
|
PageSize int64 `json:"pageSize"`
|
||||||
accountFiee.ChatAutoReplyRulerData
|
accountFiee.ChatAutoReplyRulerData
|
||||||
RuleType string `json:"ruleType"`
|
|
||||||
}
|
}
|
||||||
type ErpLoginDemoReq struct {
|
type ErpLoginDemoReq struct {
|
||||||
TelNum string `json:"telNum"`
|
TelNum string `json:"telNum"`
|
||||||
|
Loading…
Reference in New Issue
Block a user