api.php 210 B

123456789101112
  1. <?php
  2. /**
  3. * Created by PhpStorm
  4. * User: 林志杰
  5. * Email: [email protected]
  6. * Time: 2020/1/11 17:53
  7. */
  8. use think\facade\Route;
  9. Route::rule('smscode', 'Sms/code', 'POST');
  10. Route::resource('user', 'User');