feat:完善项目

This commit is contained in:
henry
2021-11-02 17:01:04 +08:00
parent 20d81825e1
commit 0fa2630933
19 changed files with 171 additions and 267 deletions

View File

@ -28,7 +28,7 @@ type (
)
// List 列表信息
func (c *Instance) List(name, mobile string, kind model2.ManageSupplierKind, page, pageSize int) (*basic.ReturnPages, error) {
func (c *Instance) List(name, mobile string, kind model2.ManageSupplierKind, page, pageSize int) (*basic.PageDataResponse, error) {
mManageSupplier := model.NewManageSupplier()
out := make([]*model2.ManageSupplier, 0)
@ -69,7 +69,7 @@ func (c *Instance) List(name, mobile string, kind model2.ManageSupplierKind, pag
ID: v.GetEncodeID(), ManageSupplier: v,
})
}
return &basic.ReturnPages{Data: list, Count: count}, nil
return &basic.PageDataResponse{Data: list, Count: count}, nil
}
// Form 数据处理