统计不鉴权

This commit is contained in:
彭桃 2023-01-30 09:40:38 +08:00
parent b83dadccff
commit fe215f32ab

View File

@ -3,7 +3,6 @@
namespace app\api\controller;
use app\api\BaseController;
use app\api\middleware\Auth;
use think\facade\Db;
/**
@ -11,13 +10,6 @@ use think\facade\Db;
*/
class Statistics extends BaseController
{
/**
* 控制器中间件 [不需要鉴权]
* @var array
*/
protected $middleware = [
Auth::class => ['except' => [] ]
];
//人口构成80岁以上、61-80岁、36-60岁、18-35岁、0-17岁
public function get_people($area_id=0,$street_id=0,$village_id=0){