factroy store

This commit is contained in:
2026-09-15 15:23:30 +08:00
parent 21ee6f47ec
commit 88c3cdada2
64 changed files with 3649 additions and 305 deletions
@@ -113,16 +113,23 @@ func (s *OrderServer) OrderInfo(ctx context.Context, in *order.IdRequest) (*orde
return l.OrderInfo(in)
}
func (s *OrderServer) UpdateAddressSaleInfo(ctx context.Context, in *order.UpdateAddressSaleInfoRequest) (*order.UpdateAddressSaleInfoResponse, error) {
l := logic.NewUpdateAddressSaleInfoLogic(ctx, s.svcCtx)
return l.UpdateAddressSaleInfo(in)
}
func (s *OrderServer) UpdateOrderDeliverStatus(ctx context.Context, in *order.UpdateOrderDeliverStatusRequest) (*order.UpdateOrderDeliverStatusResponse, error) {
l := logic.NewUpdateOrderDeliverStatusLogic(ctx, s.svcCtx)
return l.UpdateOrderDeliverStatus(in)
}
// type 1为销售 2为门店 3为个人
func (s *OrderServer) GetOrderInfo(ctx context.Context, in *order.GetOrderInfoRequest) (*order.OrderInfoResponse, error) {
l := logic.NewGetOrderInfoLogic(ctx, s.svcCtx)
return l.GetOrderInfo(in)
}
// status 1 为已支付 4 支付失败,其它的返回错误
func (s *OrderServer) UpdateOrderPayStatus(ctx context.Context, in *order.UpdateOrderPayStatusRequest) (*order.UpdateOrderPayStatusResponse, error) {
l := logic.NewUpdateOrderPayStatusLogic(ctx, s.svcCtx)
return l.UpdateOrderPayStatus(in)