46d3f672bf
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
35 lines
939 B
Go
35 lines
939 B
Go
// Code generated by goctl. DO NOT EDIT.
|
|
// goctl 1.10.1
|
|
// Source: analysis.proto
|
|
|
|
package server
|
|
|
|
import (
|
|
"context"
|
|
|
|
"lone-services/rpc/analysis/pb"
|
|
"lone-services/services/analysis/internal/logic/analysisstore"
|
|
"lone-services/services/analysis/internal/svc"
|
|
)
|
|
|
|
type AnalysisStoreServer struct {
|
|
svcCtx *svc.ServiceContext
|
|
analysis.UnimplementedAnalysisStoreServer
|
|
}
|
|
|
|
func NewAnalysisStoreServer(svcCtx *svc.ServiceContext) *AnalysisStoreServer {
|
|
return &AnalysisStoreServer{
|
|
svcCtx: svcCtx,
|
|
}
|
|
}
|
|
|
|
func (s *AnalysisStoreServer) StoreAuth(ctx context.Context, in *analysis.StoreAuthReq) (*analysis.Response, error) {
|
|
l := analysisstorelogic.NewStoreAuthLogic(ctx, s.svcCtx)
|
|
return l.StoreAuth(in)
|
|
}
|
|
|
|
func (s *AnalysisStoreServer) StoreAuthQrcode(ctx context.Context, in *analysis.StoreAuthQrcodeReq) (*analysis.Response, error) {
|
|
l := analysisstorelogic.NewStoreAuthQrcodeLogic(ctx, s.svcCtx)
|
|
return l.StoreAuthQrcode(in)
|
|
}
|