32 lines
688 B
Go
32 lines
688 B
Go
package orderservicelogic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"app-cloudep-order-server/gen_result/pb/tweeting"
|
|
"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 修改訂單
|
|
func (l *ModifyOrderLogic) ModifyOrder(in *tweeting.ModifyOrderReq) (*tweeting.OKResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &tweeting.OKResp{}, nil
|
|
}
|