Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

处理签名字典出错,详细信息:Object reference not set to an instance of an object. #27

Open
AndHuang opened this issue Jul 11, 2019 · 0 comments

Comments

@AndHuang
Copy link

private ZPayRsaAssist GenerateRsaAssist(ZPayConfig config)
{
if (ConfigMode==ConfigProviderMode.Context)
return new ZPayRsaAssist(config.AppPrivateKey, config.AppPublicKey, config.Charset);

        if (_rsaAssist==null)
            return _rsaAssist= new ZPayRsaAssist(config.AppPrivateKey, config.AppPublicKey, config.Charset);
        
        return _rsaAssist;
    }

定位:if (ConfigMode==ConfigProviderMode.Context)这行代码中的ConfigMode为空

@AndHuang AndHuang changed the title 处理签名字典出错,详细信息请查看日志 处理签名字典出错,详细信息:Object reference not set to an instance of an object. Jul 11, 2019
@AndHuang AndHuang reopened this Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant