add apis
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / bff (push) Successful in 27s
CI / chore (push) Successful in 31s
CI / equipment (push) Successful in 30s
CI / express (push) Successful in 0s
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 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 1s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s

This commit is contained in:
2026-10-20 20:02:25 +08:00
parent 113756fd46
commit 278713765c
22 changed files with 704 additions and 210 deletions
-2
View File
@@ -42,7 +42,6 @@ type (
Chore interface {
Policy(ctx context.Context, in *PolicyReq, opts ...grpc.CallOption) (*Response, error)
Upload(ctx context.Context, in *UploadReq, opts ...grpc.CallOption) (*Response, error)
// 微信小程序直传 OSS 所需的 PostObject V4 签名参数
OssSignature(ctx context.Context, in *OssSignatureReq, opts ...grpc.CallOption) (*Response, error)
Test(ctx context.Context, in *TestReq, opts ...grpc.CallOption) (*Response, error)
DecryptMobile(ctx context.Context, in *DecryptMobileReq, opts ...grpc.CallOption) (*Response, error)
@@ -90,7 +89,6 @@ func (m *defaultChore) Upload(ctx context.Context, in *UploadReq, opts ...grpc.C
return client.Upload(ctx, in, opts...)
}
// 微信小程序直传 OSS 所需的 PostObject V4 签名参数
func (m *defaultChore) OssSignature(ctx context.Context, in *OssSignatureReq, opts ...grpc.CallOption) (*Response, error) {
client := chore.NewChoreClient(m.cli.Conn())
return client.OssSignature(ctx, in, opts...)
@@ -33,7 +33,6 @@ func (s *ChoreServer) Upload(ctx context.Context, in *chore.UploadReq) (*chore.R
return l.Upload(in)
}
// 微信小程序直传 OSS 所需的 PostObject V4 签名参数
func (s *ChoreServer) OssSignature(ctx context.Context, in *chore.OssSignatureReq) (*chore.Response, error) {
l := logic.NewOssSignatureLogic(ctx, s.svcCtx)
return l.OssSignature(in)