Intergrate model for supplier #15

Merged
nguyenphamquangtue merged 5 commits from intergrateModelForSupplier into develop 2022-08-31 07:48:24 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit ed48d80665 - Show all commits

View File

@ -17,8 +17,8 @@ func GetSupplier() Supplier {
return Supplier{}
}
func (s Supplier) GetListSupplierInfo(supplierID model.GetSupplierRequest) ([]*model.ResponseSupplierInfo, error) {
msg, err := natsio.GetServer().Request(subject.Supplier.GetListSupplierInfo, toBytes(supplierID))
func (s Supplier) GetListSupplierInfo(p model.GetSupplierRequest) ([]*model.ResponseSupplierInfo, error) {
msg, err := natsio.GetServer().Request(subject.Supplier.GetListSupplierInfo, toBytes(p))
if err != nil {
return nil, err
}