feat: add kyc api
This commit is contained in:
parent
b5a12ceaa2
commit
5d4f15fe8c
|
@ -25,7 +25,6 @@ func NewCreateKYCLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateK
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l *CreateKYCLogic) CreateKYC(in *product.CreateKYCReq) (*product.OKResp, error) {
|
func (l *CreateKYCLogic) CreateKYC(in *product.CreateKYCReq) (*product.OKResp, error) {
|
||||||
|
|
||||||
err := l.svcCtx.KYCUseCase.Create(l.ctx, &entity.KYC{
|
err := l.svcCtx.KYCUseCase.Create(l.ctx, &entity.KYC{
|
||||||
UID: in.GetUid(),
|
UID: in.GetUid(),
|
||||||
CountryRegion: in.GetCountryRegion(),
|
CountryRegion: in.GetCountryRegion(),
|
||||||
|
|
Loading…
Reference in New Issue