fix
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 1s
CI / bff (push) Successful in 0s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 1s
CI / water (push) Successful in 28s
CI / wecom (push) Successful in 1s
CI / ws (push) Successful in 0s

This commit is contained in:
2026-11-02 10:32:10 +08:00
parent 11cb965583
commit b5784bab6c
2 changed files with 2 additions and 2 deletions
@@ -39,7 +39,7 @@ func (l *AddWarningLogic) AddWarning(in *water.AddWarningRequest) (*water.Respon
return l.fail(utils.ErrorNoLoginInfo)
}
aTime, _ := utils.ParseDateOnly(in.Time)
info := dao.UsersCreate{
info := dao.WarningCreate{
HostCode: in.HostCode,
Content: in.Content,
Type: in.Type,
+1 -1
View File
@@ -18,6 +18,6 @@ func (m WarningModel) Init() WarningModel {
return m
}
func (m WarningModel) Create(data *dao.UsersCreate) error {
func (m WarningModel) Create(data *dao.WarningCreate) error {
return m.Base.Create(data)
}