|
@@ -105,6 +105,12 @@ class Api
|
|
|
if($ip == '127.0.0.1'){
|
|
|
return true;
|
|
|
}*/
|
|
|
+ //$modulename = $this->request->module();
|
|
|
+ //$controllername = $this->request->controller();
|
|
|
+ $actionname = $this->request->action();
|
|
|
+ if (in_array($actionname,['upload','uploads','recognizingSounds'])) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
|
|
|
//解密签名开始
|
|
|
$sign = $this->request->request('sign','','trim');
|