Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCCNUService)
ProviderSet is service providers.
Functions ¶
func BKSloginCCNU ¶
BKSloginCCNU 模拟本科生登录CCNU并返回Cookie
func CheckIsUndergraduate ¶
CheckIsUndergraduate 检查该学号是否是本科生
func GetModulusAndExpoent ¶
Types ¶
type CCNUService ¶
type CCNUService struct { v1.UnimplementedCCNUServiceServer // contains filtered or unexported fields }
func NewCCNUService ¶
func NewCCNUService(uc *biz.UserUsecase) *CCNUService
func (*CCNUService) GetCookie ¶
func (s *CCNUService) GetCookie(ctx context.Context, req *v1.GetCookieRequest) (*v1.GetCookieResponse, error)
func (*CCNUService) SaveUser ¶
func (s *CCNUService) SaveUser(ctx context.Context, req *v1.SaveUserRequest) (*v1.SaveUserResponse, error)
Click to show internal directories.
Click to hide internal directories.