Commit 8d0a2a67 by 王召彬

Merge branch 'ft-oem' into test

parents 04ed6867 269f6d31
...@@ -39,7 +39,7 @@ class Xcrypt ...@@ -39,7 +39,7 @@ class Xcrypt
} }
private static function getKey(){ private static function getKey(){
$key = CfgCenter::getArray(CfgCenter::ENCRYPT_KEY); $key = CfgCenter::getByOemId(CfgCenter::ENCRYPT_KEY, 0);
if (empty($key)){ if (empty($key)){
throw new \Exception('加密密钥获取失败!'); 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