sync: 对齐小程序 v1.0.2 生产代码并脱敏
This commit is contained in:
@@ -8,11 +8,11 @@ import (
|
||||
)
|
||||
|
||||
func (c *ControllerV1) CustomerList(ctx context.Context, req *v1.CustomerListReq) (res *v1.CustomerListRes, err error) {
|
||||
items, total, err := service.AppUser().CustomerList(ctx, &req.AppCustomerListParam)
|
||||
items, total, summary, err := service.AppUser().CustomerList(ctx, &req.AppCustomerListParam)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &v1.CustomerListRes{Items: items, Total: total}, nil
|
||||
return &v1.CustomerListRes{Items: items, Total: total, Summary: summary}, nil
|
||||
}
|
||||
|
||||
func (c *ControllerV1) CustomerDetail(ctx context.Context, req *v1.CustomerDetailReq) (res *v1.CustomerDetailRes, err error) {
|
||||
|
||||
Reference in New Issue
Block a user