From 87bce569ba1457d2e47a042eabaf700133308d08 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 6 Dec 2023 14:05:22 +0800 Subject: [PATCH] update --- app/controller/api/dataview/Logistics.php | 9 +++++++++ app/controller/api/dataview/User.php | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/app/controller/api/dataview/Logistics.php b/app/controller/api/dataview/Logistics.php index 862cdb9a..dd74bb53 100755 --- a/app/controller/api/dataview/Logistics.php +++ b/app/controller/api/dataview/Logistics.php @@ -11,6 +11,15 @@ use think\facade\Db; class Logistics extends BaseController { + /** + * @var repository + */ + protected $repository; + + public $areaCode; // 区县地区码 + + public $streetCode; // 镇街道地区码 + public function __construct(App $app, BaseRepository $repository) { parent::__construct($app); diff --git a/app/controller/api/dataview/User.php b/app/controller/api/dataview/User.php index 0b53d4e6..c93c3f0a 100644 --- a/app/controller/api/dataview/User.php +++ b/app/controller/api/dataview/User.php @@ -13,6 +13,15 @@ use think\exception\ValidateException; class User extends BaseController { + /** + * @var repository + */ + protected $repository; + + public $areaCode; // 区县地区码 + + public $streetCode; // 镇街道地区码 + public function __construct(App $app, BaseRepository $repository) { parent::__construct($app);