feat: product number
CI / changes (push) Successful in 36s
CI / docker-bff (push) Successful in 3m8s
CI / docker-product (push) Successful in 3m36s
CI / docker-admin (push) Successful in 3m35s
CI / docker-user (push) Successful in 9s
CI / docker-ad (push) Successful in 29s
CI / docker-chore (push) Failing after 4s
CI / changes (push) Successful in 36s
CI / docker-bff (push) Successful in 3m8s
CI / docker-product (push) Successful in 3m36s
CI / docker-admin (push) Successful in 3m35s
CI / docker-user (push) Successful in 9s
CI / docker-ad (push) Successful in 29s
CI / docker-chore (push) Failing after 4s
This commit is contained in:
@@ -28,7 +28,7 @@ func NewNamesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NamesLogic
|
||||
}
|
||||
|
||||
func (l *NamesLogic) Names(_ *product.NamesReq) (*product.Response, error) {
|
||||
var info []dao.ProductNames
|
||||
var info []dao.Names
|
||||
err := model.ProductModel{}.Init().Items(modelbase.Params{
|
||||
Eq: map[string]string{"status": strconv.Itoa(int(dao.ProductStatusNormal))},
|
||||
}, &info)
|
||||
|
||||
Reference in New Issue
Block a user