| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- declare (strict_types = 1);
- namespace app\admin\controller\shop;
- use app\common\controller\Backend;
- use think\annotation\route\Group;
- use think\annotation\route\Route;
- use app\admin\traits\Actions;
- use app\common\model\Customer as CustomerModel;
- #[Group("shop/customer")]
- class Customer extends Backend
- {
- use Actions;
- protected function _initialize()
- {
- parent::_initialize();
- $this->model = new CustomerModel();
- }
-
-
- //导入
- #[Route("GET","import")]
- public function import()
- {
- return "导入";
- }
-
- //下载
- #[Route("GET","download")]
- public function download()
- {
- return "下载";
- }
- }
|