feat:完善项目
This commit is contained in:
@ -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 数据处理
|
||||
|
||||
Reference in New Issue
Block a user