[系统用户]增加OTP动态密码二次认证

This commit is contained in:
刘祥超
2020-12-24 17:15:53 +08:00
parent 4136527840
commit bf510edfe4
35 changed files with 532 additions and 137 deletions

View File

@@ -248,6 +248,10 @@ func (this *RPCClient) UserBillRPC() pb.UserBillServiceClient {
return pb.NewUserBillServiceClient(this.pickConn())
}
func (this *RPCClient) LoginRPC() pb.LoginServiceClient {
return pb.NewLoginServiceClient(this.pickConn())
}
// 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()