phalapi library OSS上传出现403

The request signature we calculated does not match the signature you provided. Check your key and signing method


222.png

 
已邀请:

dogstar - PhalApi创始人

赞同来自:

看错误提示,是说签名失败。是不是还要修改默认的配置?

可以看下:/OSS/conf.inc.php 配置文件:

//define('OSS_ACCESS_ID', 'YH0ZF0bROjQkCL7N');//线上
define('OSS_ACCESS_ID',DI()->config->get('sys.OSS_ACCESS_ID'));//线下

//ACCESS_KEY
//define('OSS_ACCESS_KEY', '2asd5I1povrfmVmU6hYrBU9f5h3WLC');//线上
define('OSS_ACCESS_KEY', DI()->config->get('sys.OSS_ACCESS_KEY'));//线下

要回复问题请先登录注册