User.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?php
  2. /**
  3. *
  4. * User: anyluck
  5. * Date: 2020/6/1
  6. * Time: 15:37
  7. */
  8. namespace app\ap\controller\v1;
  9. use think\facade\Request;
  10. class User
  11. {
  12. /**
  13. * 显示资源列表
  14. *
  15. * @return \think\Response
  16. */
  17. public function index()
  18. {
  19. //
  20. }
  21. /**
  22. * 显示创建资源表单页.
  23. *
  24. * @return \think\Response
  25. */
  26. public function create()
  27. {
  28. //
  29. }
  30. /**
  31. * 保存新建的资源
  32. *
  33. * @param \think\Request $request
  34. * @return \think\Response
  35. */
  36. public function save(Request $request)
  37. {
  38. //
  39. }
  40. /**
  41. * 显示指定的资源
  42. *
  43. * @param int $id
  44. * @return \think\Response
  45. */
  46. public function read($id)
  47. {
  48. //
  49. }
  50. /**
  51. * 显示编辑资源表单页.
  52. *
  53. * @param int $id
  54. * @return \think\Response
  55. */
  56. public function edit($id)
  57. {
  58. //
  59. }
  60. /**
  61. * 保存更新的资源
  62. *
  63. * @param \think\Request $request
  64. * @param int $id
  65. * @return \think\Response
  66. */
  67. public function update(Request $request, $id)
  68. {
  69. //
  70. }
  71. /**
  72. * 删除指定资源
  73. *
  74. * @param int $id
  75. * @return \think\Response
  76. */
  77. public function delete($id)
  78. {
  79. //
  80. }
  81. }