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

云片网提示无可用网关的解决方案 #323

Open
airxyy opened this issue Jan 26, 2022 · 0 comments
Open

云片网提示无可用网关的解决方案 #323

airxyy opened this issue Jan 26, 2022 · 0 comments

Comments

@airxyy
Copy link

airxyy commented Jan 26, 2022

使用云片网网关时,会提示无可用网关,因为缺少headers信息。解决方案如下
YunpianGateway.php的$option插入(第49行)插入

            'headers' => [
              'Accept' => 'application/json; charset=utf-8;',
              'Content-Type' => 'application/x-www-form-urlencoded;charset=utf-8;'
            ],
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