Commit 269f6d31 by 王召彬

配置中心

parent fd43c955
......@@ -39,7 +39,7 @@ class Xcrypt
}
private static function getKey(){
$key = CfgCenter::getArray(CfgCenter::ENCRYPT_KEY);
$key = CfgCenter::getByOemId(CfgCenter::ENCRYPT_KEY, 0);
if (empty($key)){
throw new \Exception('加密密钥获取失败!');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment