This commit is contained in:
孟帅
2023-05-14 23:55:16 +08:00
parent 1227c754d0
commit f30dbf34fa
111 changed files with 2853 additions and 1969 deletions

View File

@@ -55,8 +55,7 @@ type SmsLogListInp struct {
func (in *SmsLogListInp) Filter(ctx context.Context) (err error) {
if in.Event != "" {
_, ok := consts.SmsTemplateEventMap[in.Event]
if !ok {
if _, ok := consts.SmsTemplateEventMap[in.Event]; !ok {
err = gerror.Newf("无效的事件类型:%v", in.Event)
return
}