File tree 1 file changed +85
-0
lines changed
application/api/controller/v1
1 file changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace app \api \controller \v1 ;
4
+
5
+ use think \Controller ;
6
+ use think \Request ;
7
+
8
+ class Goods extends Controller
9
+ {
10
+ /**
11
+ * 显示资源列表
12
+ *
13
+ * @return \think\Response
14
+ */
15
+ public function index ()
16
+ {
17
+ //
18
+ }
19
+
20
+ /**
21
+ * 显示创建资源表单页.
22
+ *
23
+ * @return \think\Response
24
+ */
25
+ public function create ()
26
+ {
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
+ *
44
+ * @param int $id
45
+ * @return \think\Response
46
+ */
47
+ public function read ($ id )
48
+ {
49
+ //
50
+ }
51
+
52
+ /**
53
+ * 显示编辑资源表单页.
54
+ *
55
+ * @param int $id
56
+ * @return \think\Response
57
+ */
58
+ public function edit ($ id )
59
+ {
60
+ //
61
+ }
62
+
63
+ /**
64
+ * 保存更新的资源
65
+ *
66
+ * @param \think\Request $request
67
+ * @param int $id
68
+ * @return \think\Response
69
+ */
70
+ public function update (Request $ request , $ id )
71
+ {
72
+ //
73
+ }
74
+
75
+ /**
76
+ * 删除指定资源
77
+ *
78
+ * @param int $id
79
+ * @return \think\Response
80
+ */
81
+ public function delete ($ id )
82
+ {
83
+ //
84
+ }
85
+ }
You can’t perform that action at this time.
0 commit comments