We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
discuz x3.5 调用登录接口 报错 Access denied for operation changed
The text was updated successfully, but these errors were encountered:
大部分情况是因为配置不一致导致的,请先检查确认一下,UC那边和 Java 程序这边两侧的配置是否一致?
包括
// 通信相关 define('UC_KEY', 'yeN3g9EbNfiaYfodV63dI1j8Fbk5HaL7W4yaW4y7u2j4Mf45mfg2v899g451k576'); // 与 UCenter 的通信密钥, 要与 UCenter 保持一致 define('UC_API', 'http://localhost/ucenter/branches/1.5.0/server'); // UCenter 的 URL 地址, 在调用头像时依赖此常量 define('UC_CHARSET', 'utf-8'); // UCenter 的字符集 define('UC_IP', '127.0.0.1'); // UCenter 的 IP, 当 UC_CONNECT 为非 mysql 方式时, 并且当前应用服务器解析域名有问题时, 请设置此值 define('UC_APPID', '1'); // 当前应用的 ID
Sorry, something went wrong.
大部分情况是因为配置不一致导致的,请先检查确认一下,UC那边和 Java 程序这边两侧的配置是否一致? 包括 UCenter APPID 应用 ID 需要和 UCenter 后台的 ID 一致; UCenter UC_KEY 通信密钥需要和 UCenter 后台的通信密钥一致; UCenter UC_API 访问地址查看是否是正确的地址; UCenter IP 地址查看是否是UCenter所在的 Mysql 服务器的ip地址。 // 通信相关 define('UC_KEY', 'yeN3g9EbNfiaYfodV63dI1j8Fbk5HaL7W4yaW4y7u2j4Mf45mfg2v899g451k576'); // 与 UCenter 的通信密钥, 要与 UCenter 保持一致 define('UC_API', 'http://localhost/ucenter/branches/1.5.0/server'); // UCenter 的 URL 地址, 在调用头像时依赖此常量 define('UC_CHARSET', 'utf-8'); // UCenter 的字符集 define('UC_IP', '127.0.0.1'); // UCenter 的 IP, 当 UC_CONNECT 为非 mysql 方式时, 并且当前应用服务器解析域名有问题时, 请设置此值 define('UC_APPID', '1'); // 当前应用的 ID
不大行,通讯显示正常了,其他接口不行,有空我再看看吧 哈哈哈,感谢感谢
renfei
No branches or pull requests
discuz x3.5 调用登录接口 报错 Access denied for operation changed
The text was updated successfully, but these errors were encountered: