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

@@ -3,7 +3,6 @@
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
//
package sysin
import (
@@ -84,7 +83,6 @@ type LoginLogExportModel struct {
// LoginLogPushInp 解推送登录日志
type LoginLogPushInp struct {
Input adminin.MemberLoginInp
Response *adminin.MemberLoginModel
Response *adminin.LoginModel
Err error
}

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
}