32 lines
821 B
Go
32 lines
821 B
Go
|
package accountlogic
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"app-cloudep-member-server/gen_result/pb/member"
|
||
|
"app-cloudep-member-server/internal/svc"
|
||
|
|
||
|
"github.com/zeromicro/go-zero/core/logx"
|
||
|
)
|
||
|
|
||
|
type VerifyPlatformAuthResultLogic struct {
|
||
|
ctx context.Context
|
||
|
svcCtx *svc.ServiceContext
|
||
|
logx.Logger
|
||
|
}
|
||
|
|
||
|
func NewVerifyPlatformAuthResultLogic(ctx context.Context, svcCtx *svc.ServiceContext) *VerifyPlatformAuthResultLogic {
|
||
|
return &VerifyPlatformAuthResultLogic{
|
||
|
ctx: ctx,
|
||
|
svcCtx: svcCtx,
|
||
|
Logger: logx.WithContext(ctx),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// VerifyPlatformAuthResult 驗證 google 登入是否有效
|
||
|
func (l *VerifyPlatformAuthResultLogic) VerifyPlatformAuthResult(in *member.VerifyAuthResultReq) (*member.VerifyAuthResultResp, error) {
|
||
|
// todo: add your logic here and delete this line
|
||
|
|
||
|
return &member.VerifyAuthResultResp{}, nil
|
||
|
}
|