feat: sale manager

This commit is contained in:
zzw
2026-08-28 10:49:09 +08:00
parent 97eba7ad48
commit 6f567319be
82 changed files with 4491 additions and 182 deletions
@@ -67,10 +67,10 @@ func (l *VerifyLogic) Verify(in *product.VerifyReq) (*product.Response, error) {
items := make([]*product.VerifyItem, 0)
if len(rows) == 0 {
return okResponse(utils.StructToJson(&product.VerifyItemsData{
return okResponse(&product.VerifyItemsData{
Count: result.Count,
Items: items,
})), nil
}), nil
}
ids := make([]string, 0, len(rows))
@@ -142,8 +142,8 @@ func (l *VerifyLogic) Verify(in *product.VerifyReq) (*product.Response, error) {
})
}
return okResponse(utils.StructToJson(&product.VerifyItemsData{
return okResponse(&product.VerifyItemsData{
Count: result.Count,
Items: items,
})), nil
}), nil
}