统计不鉴权
This commit is contained in:
parent
b83dadccff
commit
fe215f32ab
@ -3,7 +3,6 @@
|
|||||||
namespace app\api\controller;
|
namespace app\api\controller;
|
||||||
|
|
||||||
use app\api\BaseController;
|
use app\api\BaseController;
|
||||||
use app\api\middleware\Auth;
|
|
||||||
use think\facade\Db;
|
use think\facade\Db;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -11,13 +10,6 @@ use think\facade\Db;
|
|||||||
*/
|
*/
|
||||||
class Statistics extends BaseController
|
class Statistics extends BaseController
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* 控制器中间件 [不需要鉴权]
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
protected $middleware = [
|
|
||||||
Auth::class => ['except' => [] ]
|
|
||||||
];
|
|
||||||
|
|
||||||
//人口构成(80岁以上、61-80岁、36-60岁、18-35岁、0-17岁)
|
//人口构成(80岁以上、61-80岁、36-60岁、18-35岁、0-17岁)
|
||||||
public function get_people($area_id=0,$street_id=0,$village_id=0){
|
public function get_people($area_id=0,$street_id=0,$village_id=0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user