修改qeuipment
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 28s
CI / admin (push) Successful in 21s
CI / bff (push) Successful in 14s
CI / chore (push) Successful in 15s
CI / equipment (push) Successful in 15s
CI / express (push) Successful in 17s
CI / product (push) Successful in 14s
CI / record (push) Successful in 15s
CI / sale (push) Successful in 14s
CI / task (push) Successful in 17s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 15s

This commit is contained in:
2026-09-11 10:33:46 +08:00
parent 38e040af07
commit 9e81b526bc
4 changed files with 6 additions and 1 deletions
@@ -41,6 +41,7 @@ func (l *InfoLogic) Info(in *equipment.IdRequest) (*equipment.Response, error) {
w := modelbase.Params{Eq: map[string]string{"id": strconv.Itoa(int(in.Id))}}
err := modelObj.GetOne(w, &info)
if err != nil {
l.Logger.Error(err)
return l.fail(utils.ErrorNotFund)
}