DocterController.php 447 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zilongs
  5. * Date: 20-9-29
  6. * Time: 上午11:09
  7. */
  8. namespace App\Http\Controllers\Api\V1;
  9. class DocterController extends AuthController
  10. {
  11. public function docterConsultList()
  12. {
  13. $req = request()->post();
  14. $this->validate(request(), [
  15. 'type' => 'required|in:1,2',
  16. 'docter_name' => 'max:50',
  17. 'organization_name' => 'max:255',
  18. ]);
  19. }
  20. }