Commit a9966f1c by xmy

# 1.0.34

- 修改加密方法密钥
parent 576a37d3
# 1.0.33
# 1.0.34
- 修改加密方法密钥
# 1.0.32
- 订单对账接口
......
<?php
namespace Hdll\Services\Common\Lib;
use mysql_xdevapi\Exception;
use Swoft\App;
use Swoft\Redis\Redis;
......@@ -45,7 +44,7 @@ class Xcrypt
$redis = App::getBean(Redis::class);
$key = $redis->get(self::CRYPT);
if (empty($key)){
throw new Exception('加密密钥获取失败!');
throw new \Exception('加密密钥获取失败!');
}
return $key;
}
......
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