Commit c8ee356f by LiuJunYi

打开签名

parent a2a16aea
......@@ -28,10 +28,10 @@ class Base extends Controller
// echo $this->getSignature($params); exit;
// 验证签名
// if (!$this->checkSignature($params)) {
// echo json_encode(["code" => 1, "msg" => "auth failed"]);
// die;
// }
if (!$this->checkSignature($params)) {
echo json_encode(["code" => 1, "msg" => "auth failed"]);
die;
}
// 用户信息
if (input('post.token')) {
......
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