Skip to content

Commit a3fb8ae

Browse files
committed
新增小程序调用示例,阿里云短信服务
新增小程序调用示例,阿里云短信服务
1 parent fef7484 commit a3fb8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/api/controller/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function init()
4747

4848
return self::returnMsg(200,'success');
4949
}
50-
if(!Oauth::match($this->noAuth)){
50+
if(!Oauth::match($this->noAuth)){ //请求方法白名单
5151
$oauth = app('app\api\controller\Oauth'); //tp5.1容器,直接绑定类到容器进行实例化
5252
return $this->clientInfo = $oauth->authenticate();;
5353
}

0 commit comments

Comments
 (0)