Commit 9a3f233d by xmy

Merge remote-tracking branch 'origin/test' into test

parents e6dbdc63 5f6f1e84
...@@ -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