123456789101112131415161718192021222324 |
- <?php
- namespace App\Http\Controllers\Mobile\Health;
- use App\Http\Controllers\Mobile\MobileBaseController;
- use App\Services\Common\CategoryService;
- class TeachController extends MobileBaseController
- {
- protected $categoryService;
- public function __construct(CategoryService $categoryService)
- {
- $this->categoryService = $categoryService;
- }
- public function index()
- {
- $district = $this->categoryService->getDefaultDistrict();
- return view('mobile.app.health.teach.index', [
- 'defaultCity' => $district->defaultCity,
- ]);
- }
- }
|