提交 cfa8a122 编写于 作者: F Five Percent 提交者: 安正超

fix code style. (#81)

上级 d6814c9b
...@@ -96,10 +96,12 @@ class QcloudGateway extends Gateway ...@@ -96,10 +96,12 @@ class QcloudGateway extends Gateway
{ {
ksort($params); ksort($params);
return hash('sha256', sprintf('appkey=%s&random=%s&time=%s&mobile=%s', return hash('sha256', sprintf(
$this->config->get('app_key'), 'appkey=%s&random=%s&time=%s&mobile=%s',
$random, $this->config->get('app_key'),
$params['time'], $random,
$params['tel']['mobile']), false); $params['time'],
$params['tel']['mobile']
), false);
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册