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);