增加任务

This commit is contained in:
ziming 2025-06-04 11:54:52 +08:00
parent 607fe3a146
commit c89fb9f27a
3 changed files with 0 additions and 33 deletions

View File

@ -62,12 +62,6 @@ service Cmb {
}; };
} }
rpc Test (Empty) returns (Empty) {
option (google.api.http) = {
post: "/voucher/cmb/v1/test",
body: "*"
};
}
} }
message OrderRetryRequest { message OrderRetryRequest {

View File

@ -62,12 +62,3 @@ func (s *CmbService) DecryptBody(ctx context.Context, request *v1.EncryptBodyReq
DecryptBody: decryptBody, DecryptBody: decryptBody,
}, nil }, nil
} }
func (s *CmbService) Test(ctx context.Context, request *v1.Empty) (*v1.Empty, error) {
if err := s.VoucherBiz.ExecuteNotice(ctx); err != nil {
return nil, err
}
return nil, nil
}

View File

@ -150,24 +150,6 @@ paths:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/api.v1.CmbRequest' $ref: '#/components/schemas/api.v1.CmbRequest'
/voucher/cmb/v1/test:
post:
tags:
- Cmb
operationId: Cmb_Test
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/api.v1.Empty'
required: true
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/api.v1.Empty'
components: components:
schemas: schemas:
api.v1.CmbOrderRequest: api.v1.CmbOrderRequest: