app-cloudep-order-server/internal/logic/orderservice/modify_order_logic.go

32 lines
676 B
Go
Raw Normal View History

2024-10-06 07:02:30 +00:00
package orderservicelogic
import (
2024-10-12 13:56:59 +00:00
"app-cloudep-order-server/gen_result/pb/order"
2024-10-06 07:02:30 +00:00
"context"
"app-cloudep-order-server/internal/svc"
"github.com/zeromicro/go-zero/core/logx"
)
type ModifyOrderLogic struct {
ctx context.Context
svcCtx *svc.ServiceContext
logx.Logger
}
func NewModifyOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModifyOrderLogic {
return &ModifyOrderLogic{
ctx: ctx,
svcCtx: svcCtx,
Logger: logx.WithContext(ctx),
}
}
// ModifyOrder 修改訂單
2024-10-12 13:56:59 +00:00
func (l *ModifyOrderLogic) ModifyOrder(in *order.ModifyOrderReq) (*order.OKResp, error) {
2024-10-06 07:02:30 +00:00
// todo: add your logic here and delete this line
2024-10-12 13:56:59 +00:00
return &order.OKResp{}, nil
2024-10-06 07:02:30 +00:00
}