feat: remove dockment
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 27s
CI / chore (push) Successful in 26s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 1s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 27s
CI / chore (push) Successful in 26s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 1s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
This commit is contained in:
@@ -28,18 +28,11 @@ func (s *ChoreServer) Policy(ctx context.Context, in *chore.PolicyReq) (*chore.R
|
||||
return l.Policy(in)
|
||||
}
|
||||
|
||||
// 对外:服务端直传 OSS
|
||||
func (s *ChoreServer) Upload(ctx context.Context, in *chore.UploadReq) (*chore.Response, error) {
|
||||
l := logic.NewUploadLogic(ctx, s.svcCtx)
|
||||
return l.Upload(in)
|
||||
}
|
||||
|
||||
// 对内:服务间直传 OSS(无 HTTP 暴露)
|
||||
func (s *ChoreServer) InternalUpload(ctx context.Context, in *chore.InternalUploadReq) (*chore.InternalUploadData, error) {
|
||||
l := logic.NewInternalUploadLogic(ctx, s.svcCtx)
|
||||
return l.InternalUpload(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) Test(ctx context.Context, in *chore.TestReq) (*chore.Response, error) {
|
||||
l := logic.NewTestLogic(ctx, s.svcCtx)
|
||||
return l.Test(in)
|
||||
@@ -105,9 +98,9 @@ func (s *ChoreServer) SystemItems(ctx context.Context, in *chore.EmptyReq) (*cho
|
||||
return l.SystemItems(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) Document(ctx context.Context, in *chore.DocumentReq) (*chore.Response, error) {
|
||||
l := logic.NewDocumentLogic(ctx, s.svcCtx)
|
||||
return l.Document(in)
|
||||
func (s *ChoreServer) InternalUpload(ctx context.Context, in *chore.InternalUploadReq) (*chore.InternalUploadData, error) {
|
||||
l := logic.NewInternalUploadLogic(ctx, s.svcCtx)
|
||||
return l.InternalUpload(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) RegionsByIds(ctx context.Context, in *chore.RegionsByIdsReq) (*chore.RegionsByIdsData, error) {
|
||||
|
||||
Reference in New Issue
Block a user