proto/product_inventory/server.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
proto/product_inventory/server.go
@@ -330,6 +330,7 @@ } func (s *Server) OrderProductOutput(ctx context.Context, req *OrderProductOutputRequest) (resp *OrderProductOutputResponse, err error) { resp = new(OrderProductOutputResponse) if req.OrderNumber == "" || len(req.Products) == 0 { return nil, errors.New("参数缺失") } @@ -456,10 +457,10 @@ err = service.AddOutputOperations(outputInfoList) if err != nil { logx.Errorf("OrderProductOutput AddOutputOperations err:%v", err) return nil, err } resp.Code = 1 resp.Msg = "success" return nil, nil return resp, nil }