|
@@ -9,266 +9,266 @@ func init() { |
|
@@ -9,266 +9,266 @@ func init() { |
9
|
|
9
|
|
10
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
10
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
11
|
beego.ControllerComments{
|
11
|
beego.ControllerComments{
|
12
|
- Method: "AccessToken",
|
|
|
13
|
- Router: `/accessToken`,
|
12
|
+ Method: "AccessToken",
|
|
|
13
|
+ Router: `/accessToken`,
|
14
|
AllowHTTPMethods: []string{"post"},
|
14
|
AllowHTTPMethods: []string{"post"},
|
15
|
- MethodParams: param.Make(),
|
|
|
16
|
- Params: nil})
|
15
|
+ MethodParams: param.Make(),
|
|
|
16
|
+ Params: nil})
|
17
|
|
17
|
|
18
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
18
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
19
|
beego.ControllerComments{
|
19
|
beego.ControllerComments{
|
20
|
- Method: "Login",
|
|
|
21
|
- Router: `/login`,
|
20
|
+ Method: "Login",
|
|
|
21
|
+ Router: `/login`,
|
22
|
AllowHTTPMethods: []string{"post"},
|
22
|
AllowHTTPMethods: []string{"post"},
|
23
|
- MethodParams: param.Make(),
|
|
|
24
|
- Params: nil})
|
23
|
+ MethodParams: param.Make(),
|
|
|
24
|
+ Params: nil})
|
25
|
|
25
|
|
26
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
26
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
27
|
beego.ControllerComments{
|
27
|
beego.ControllerComments{
|
28
|
- Method: "RefreshToken",
|
|
|
29
|
- Router: `/refreshToken`,
|
28
|
+ Method: "RefreshToken",
|
|
|
29
|
+ Router: `/refreshToken`,
|
30
|
AllowHTTPMethods: []string{"post"},
|
30
|
AllowHTTPMethods: []string{"post"},
|
31
|
- MethodParams: param.Make(),
|
|
|
32
|
- Params: nil})
|
31
|
+ MethodParams: param.Make(),
|
|
|
32
|
+ Params: nil})
|
33
|
|
33
|
|
34
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
34
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
35
|
beego.ControllerComments{
|
35
|
beego.ControllerComments{
|
36
|
- Method: "Revoke",
|
|
|
37
|
- Router: `/revoke`,
|
36
|
+ Method: "Revoke",
|
|
|
37
|
+ Router: `/revoke`,
|
38
|
AllowHTTPMethods: []string{"post"},
|
38
|
AllowHTTPMethods: []string{"post"},
|
39
|
- MethodParams: param.Make(),
|
|
|
40
|
- Params: nil})
|
39
|
+ MethodParams: param.Make(),
|
|
|
40
|
+ Params: nil})
|
41
|
|
41
|
|
42
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
42
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
43
|
beego.ControllerComments{
|
43
|
beego.ControllerComments{
|
44
|
- Method: "SmsCode",
|
|
|
45
|
- Router: `/smsCode`,
|
44
|
+ Method: "SmsCode",
|
|
|
45
|
+ Router: `/smsCode`,
|
46
|
AllowHTTPMethods: []string{"post"},
|
46
|
AllowHTTPMethods: []string{"post"},
|
47
|
- MethodParams: param.Make(),
|
|
|
48
|
- Params: nil})
|
47
|
+ MethodParams: param.Make(),
|
|
|
48
|
+ Params: nil})
|
49
|
|
49
|
|
50
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
50
|
beego.GlobalControllerRouter["opp/controllers/v1:AuthController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:AuthController"],
|
51
|
beego.ControllerComments{
|
51
|
beego.ControllerComments{
|
52
|
- Method: "UpdateDevice",
|
|
|
53
|
- Router: `/updateDevice`,
|
52
|
+ Method: "UpdateDevice",
|
|
|
53
|
+ Router: `/updateDevice`,
|
54
|
AllowHTTPMethods: []string{"post"},
|
54
|
AllowHTTPMethods: []string{"post"},
|
55
|
- MethodParams: param.Make(),
|
|
|
56
|
- Params: nil})
|
55
|
+ MethodParams: param.Make(),
|
|
|
56
|
+ Params: nil})
|
57
|
|
57
|
|
58
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
58
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
59
|
beego.ControllerComments{
|
59
|
beego.ControllerComments{
|
60
|
- Method: "ChanceType",
|
|
|
61
|
- Router: `/chanceType`,
|
60
|
+ Method: "ChanceType",
|
|
|
61
|
+ Router: `/chanceType`,
|
62
|
AllowHTTPMethods: []string{"post"},
|
62
|
AllowHTTPMethods: []string{"post"},
|
63
|
- MethodParams: param.Make(),
|
|
|
64
|
- Params: nil})
|
63
|
+ MethodParams: param.Make(),
|
|
|
64
|
+ Params: nil})
|
65
|
|
65
|
|
66
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
66
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
67
|
beego.ControllerComments{
|
67
|
beego.ControllerComments{
|
68
|
- Method: "CommentDetailsMulti",
|
|
|
69
|
- Router: `/commentDetailsMulti`,
|
68
|
+ Method: "CommentDetailsMulti",
|
|
|
69
|
+ Router: `/commentDetailsMulti`,
|
70
|
AllowHTTPMethods: []string{"post"},
|
70
|
AllowHTTPMethods: []string{"post"},
|
71
|
- MethodParams: param.Make(),
|
|
|
72
|
- Params: nil})
|
71
|
+ MethodParams: param.Make(),
|
|
|
72
|
+ Params: nil})
|
73
|
|
73
|
|
74
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
74
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
75
|
beego.ControllerComments{
|
75
|
beego.ControllerComments{
|
76
|
- Method: "CommentDetailsSingle",
|
|
|
77
|
- Router: `/commentDetailsSingle`,
|
76
|
+ Method: "CommentDetailsSingle",
|
|
|
77
|
+ Router: `/commentDetailsSingle`,
|
78
|
AllowHTTPMethods: []string{"post"},
|
78
|
AllowHTTPMethods: []string{"post"},
|
79
|
- MethodParams: param.Make(),
|
|
|
80
|
- Params: nil})
|
79
|
+ MethodParams: param.Make(),
|
|
|
80
|
+ Params: nil})
|
81
|
|
81
|
|
82
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
82
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
83
|
beego.ControllerComments{
|
83
|
beego.ControllerComments{
|
84
|
- Method: "Comments",
|
|
|
85
|
- Router: `/comments`,
|
84
|
+ Method: "Comments",
|
|
|
85
|
+ Router: `/comments`,
|
86
|
AllowHTTPMethods: []string{"post"},
|
86
|
AllowHTTPMethods: []string{"post"},
|
87
|
- MethodParams: param.Make(),
|
|
|
88
|
- Params: nil})
|
87
|
+ MethodParams: param.Make(),
|
|
|
88
|
+ Params: nil})
|
89
|
|
89
|
|
90
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
90
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
91
|
beego.ControllerComments{
|
91
|
beego.ControllerComments{
|
92
|
- Method: "Favorite",
|
|
|
93
|
- Router: `/favorite`,
|
92
|
+ Method: "Favorite",
|
|
|
93
|
+ Router: `/favorite`,
|
94
|
AllowHTTPMethods: []string{"post"},
|
94
|
AllowHTTPMethods: []string{"post"},
|
95
|
- MethodParams: param.Make(),
|
|
|
96
|
- Params: nil})
|
95
|
+ MethodParams: param.Make(),
|
|
|
96
|
+ Params: nil})
|
97
|
|
97
|
|
98
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
98
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
99
|
beego.ControllerComments{
|
99
|
beego.ControllerComments{
|
100
|
- Method: "IComment",
|
|
|
101
|
- Router: `/iComment`,
|
100
|
+ Method: "IComment",
|
|
|
101
|
+ Router: `/iComment`,
|
102
|
AllowHTTPMethods: []string{"post"},
|
102
|
AllowHTTPMethods: []string{"post"},
|
103
|
- MethodParams: param.Make(),
|
|
|
104
|
- Params: nil})
|
103
|
+ MethodParams: param.Make(),
|
|
|
104
|
+ Params: nil})
|
105
|
|
105
|
|
106
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
106
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
107
|
beego.ControllerComments{
|
107
|
beego.ControllerComments{
|
108
|
- Method: "IComments",
|
|
|
109
|
- Router: `/iComments`,
|
108
|
+ Method: "IComments",
|
|
|
109
|
+ Router: `/iComments`,
|
110
|
AllowHTTPMethods: []string{"post"},
|
110
|
AllowHTTPMethods: []string{"post"},
|
111
|
- MethodParams: param.Make(),
|
|
|
112
|
- Params: nil})
|
111
|
+ MethodParams: param.Make(),
|
|
|
112
|
+ Params: nil})
|
113
|
|
113
|
|
114
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
114
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
115
|
beego.ControllerComments{
|
115
|
beego.ControllerComments{
|
116
|
- Method: "ChanceSubmit",
|
|
|
117
|
- Router: `/submit`,
|
116
|
+ Method: "ChanceSubmit",
|
|
|
117
|
+ Router: `/submit`,
|
118
|
AllowHTTPMethods: []string{"post"},
|
118
|
AllowHTTPMethods: []string{"post"},
|
119
|
- MethodParams: param.Make(),
|
|
|
120
|
- Params: nil})
|
119
|
+ MethodParams: param.Make(),
|
|
|
120
|
+ Params: nil})
|
121
|
|
121
|
|
122
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
122
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
123
|
beego.ControllerComments{
|
123
|
beego.ControllerComments{
|
124
|
- Method: "SympathyAction",
|
|
|
125
|
- Router: `/sympathyAction`,
|
124
|
+ Method: "SympathyAction",
|
|
|
125
|
+ Router: `/sympathyAction`,
|
126
|
AllowHTTPMethods: []string{"post"},
|
126
|
AllowHTTPMethods: []string{"post"},
|
127
|
- MethodParams: param.Make(),
|
|
|
128
|
- Params: nil})
|
127
|
+ MethodParams: param.Make(),
|
|
|
128
|
+ Params: nil})
|
129
|
|
129
|
|
130
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
130
|
beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:ChanceController"],
|
131
|
beego.ControllerComments{
|
131
|
beego.ControllerComments{
|
132
|
- Method: "Templates",
|
|
|
133
|
- Router: `/templates`,
|
132
|
+ Method: "Templates",
|
|
|
133
|
+ Router: `/templates`,
|
134
|
AllowHTTPMethods: []string{"post"},
|
134
|
AllowHTTPMethods: []string{"post"},
|
135
|
- MethodParams: param.Make(),
|
|
|
136
|
- Params: nil})
|
135
|
+ MethodParams: param.Make(),
|
|
|
136
|
+ Params: nil})
|
137
|
|
137
|
|
138
|
beego.GlobalControllerRouter["opp/controllers/v1:CommendController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:CommendController"],
|
138
|
beego.GlobalControllerRouter["opp/controllers/v1:CommendController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:CommendController"],
|
139
|
beego.ControllerComments{
|
139
|
beego.ControllerComments{
|
140
|
- Method: "Company",
|
|
|
141
|
- Router: `/company`,
|
140
|
+ Method: "Company",
|
|
|
141
|
+ Router: `/company`,
|
142
|
AllowHTTPMethods: []string{"post"},
|
142
|
AllowHTTPMethods: []string{"post"},
|
143
|
- MethodParams: param.Make(),
|
|
|
144
|
- Params: nil})
|
143
|
+ MethodParams: param.Make(),
|
|
|
144
|
+ Params: nil})
|
145
|
|
145
|
|
146
|
beego.GlobalControllerRouter["opp/controllers/v1:DepartmentController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:DepartmentController"],
|
146
|
beego.GlobalControllerRouter["opp/controllers/v1:DepartmentController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:DepartmentController"],
|
147
|
beego.ControllerComments{
|
147
|
beego.ControllerComments{
|
148
|
- Method: "Departments",
|
|
|
149
|
- Router: `/departments`,
|
148
|
+ Method: "Departments",
|
|
|
149
|
+ Router: `/departments`,
|
150
|
AllowHTTPMethods: []string{"post"},
|
150
|
AllowHTTPMethods: []string{"post"},
|
151
|
- MethodParams: param.Make(),
|
|
|
152
|
- Params: nil})
|
151
|
+ MethodParams: param.Make(),
|
|
|
152
|
+ Params: nil})
|
153
|
|
153
|
|
154
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
154
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
155
|
beego.ControllerComments{
|
155
|
beego.ControllerComments{
|
156
|
- Method: "MessageCenter",
|
|
|
157
|
- Router: `/messageCenter`,
|
156
|
+ Method: "MessageCenter",
|
|
|
157
|
+ Router: `/messageCenter`,
|
158
|
AllowHTTPMethods: []string{"post"},
|
158
|
AllowHTTPMethods: []string{"post"},
|
159
|
- MethodParams: param.Make(),
|
|
|
160
|
- Params: nil})
|
159
|
+ MethodParams: param.Make(),
|
|
|
160
|
+ Params: nil})
|
161
|
|
161
|
|
162
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
162
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
163
|
beego.ControllerComments{
|
163
|
beego.ControllerComments{
|
164
|
- Method: "MsgCenterAllRead",
|
|
|
165
|
- Router: `/msgCenterAllRead`,
|
164
|
+ Method: "MsgCenterAllRead",
|
|
|
165
|
+ Router: `/msgCenterAllRead`,
|
166
|
AllowHTTPMethods: []string{"post"},
|
166
|
AllowHTTPMethods: []string{"post"},
|
167
|
- MethodParams: param.Make(),
|
|
|
168
|
- Params: nil})
|
167
|
+ MethodParams: param.Make(),
|
|
|
168
|
+ Params: nil})
|
169
|
|
169
|
|
170
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
170
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
171
|
beego.ControllerComments{
|
171
|
beego.ControllerComments{
|
172
|
- Method: "MsgCenterRead",
|
|
|
173
|
- Router: `/msgCenterRead`,
|
172
|
+ Method: "MsgCenterRead",
|
|
|
173
|
+ Router: `/msgCenterRead`,
|
174
|
AllowHTTPMethods: []string{"post"},
|
174
|
AllowHTTPMethods: []string{"post"},
|
175
|
- MethodParams: param.Make(),
|
|
|
176
|
- Params: nil})
|
175
|
+ MethodParams: param.Make(),
|
|
|
176
|
+ Params: nil})
|
177
|
|
177
|
|
178
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
178
|
beego.GlobalControllerRouter["opp/controllers/v1:MessageController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:MessageController"],
|
179
|
beego.ControllerComments{
|
179
|
beego.ControllerComments{
|
180
|
- Method: "MsgInteractive",
|
|
|
181
|
- Router: `/msgInteractive`,
|
180
|
+ Method: "MsgInteractive",
|
|
|
181
|
+ Router: `/msgInteractive`,
|
182
|
AllowHTTPMethods: []string{"post"},
|
182
|
AllowHTTPMethods: []string{"post"},
|
183
|
- MethodParams: param.Make(),
|
|
|
184
|
- Params: nil})
|
183
|
+ MethodParams: param.Make(),
|
|
|
184
|
+ Params: nil})
|
185
|
|
185
|
|
186
|
beego.GlobalControllerRouter["opp/controllers/v1:UcenterController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UcenterController"],
|
186
|
beego.GlobalControllerRouter["opp/controllers/v1:UcenterController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UcenterController"],
|
187
|
beego.ControllerComments{
|
187
|
beego.ControllerComments{
|
188
|
- Method: "UCenterLogin",
|
|
|
189
|
- Router: `/login`,
|
188
|
+ Method: "UCenterLogin",
|
|
|
189
|
+ Router: `/login`,
|
190
|
AllowHTTPMethods: []string{"post"},
|
190
|
AllowHTTPMethods: []string{"post"},
|
191
|
- MethodParams: param.Make(),
|
|
|
192
|
- Params: nil})
|
191
|
+ MethodParams: param.Make(),
|
|
|
192
|
+ Params: nil})
|
193
|
|
193
|
|
194
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
194
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
195
|
beego.ControllerComments{
|
195
|
beego.ControllerComments{
|
196
|
- Method: "Image",
|
|
|
197
|
- Router: `/image`,
|
196
|
+ Method: "Image",
|
|
|
197
|
+ Router: `/image`,
|
198
|
AllowHTTPMethods: []string{"post"},
|
198
|
AllowHTTPMethods: []string{"post"},
|
199
|
- MethodParams: param.Make(),
|
|
|
200
|
- Params: nil})
|
199
|
+ MethodParams: param.Make(),
|
|
|
200
|
+ Params: nil})
|
201
|
|
201
|
|
202
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
202
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
203
|
beego.ControllerComments{
|
203
|
beego.ControllerComments{
|
204
|
- Method: "Video",
|
|
|
205
|
- Router: `/video`,
|
204
|
+ Method: "Video",
|
|
|
205
|
+ Router: `/video`,
|
206
|
AllowHTTPMethods: []string{"post"},
|
206
|
AllowHTTPMethods: []string{"post"},
|
207
|
- MethodParams: param.Make(),
|
|
|
208
|
- Params: nil})
|
207
|
+ MethodParams: param.Make(),
|
|
|
208
|
+ Params: nil})
|
209
|
|
209
|
|
210
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
210
|
beego.GlobalControllerRouter["opp/controllers/v1:UploadController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UploadController"],
|
211
|
beego.ControllerComments{
|
211
|
beego.ControllerComments{
|
212
|
- Method: "Voice",
|
|
|
213
|
- Router: `/voice`,
|
212
|
+ Method: "Voice",
|
|
|
213
|
+ Router: `/voice`,
|
214
|
AllowHTTPMethods: []string{"post"},
|
214
|
AllowHTTPMethods: []string{"post"},
|
215
|
- MethodParams: param.Make(),
|
|
|
216
|
- Params: nil})
|
215
|
+ MethodParams: param.Make(),
|
|
|
216
|
+ Params: nil})
|
217
|
|
217
|
|
218
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
218
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
219
|
beego.ControllerComments{
|
219
|
beego.ControllerComments{
|
220
|
- Method: "ChangePassword",
|
|
|
221
|
- Router: `/changePassword`,
|
220
|
+ Method: "ChangePassword",
|
|
|
221
|
+ Router: `/changePassword`,
|
222
|
AllowHTTPMethods: []string{"post"},
|
222
|
AllowHTTPMethods: []string{"post"},
|
223
|
- MethodParams: param.Make(),
|
|
|
224
|
- Params: nil})
|
223
|
+ MethodParams: param.Make(),
|
|
|
224
|
+ Params: nil})
|
225
|
|
225
|
|
226
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
226
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
227
|
beego.ControllerComments{
|
227
|
beego.ControllerComments{
|
228
|
- Method: "ChangePhone",
|
|
|
229
|
- Router: `/changePhone`,
|
228
|
+ Method: "ChangePhone",
|
|
|
229
|
+ Router: `/changePhone`,
|
230
|
AllowHTTPMethods: []string{"post"},
|
230
|
AllowHTTPMethods: []string{"post"},
|
231
|
- MethodParams: param.Make(),
|
|
|
232
|
- Params: nil})
|
231
|
+ MethodParams: param.Make(),
|
|
|
232
|
+ Params: nil})
|
233
|
|
233
|
|
234
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
234
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
235
|
beego.ControllerComments{
|
235
|
beego.ControllerComments{
|
236
|
- Method: "CheckSmsCode",
|
|
|
237
|
- Router: `/checkSmsCode`,
|
236
|
+ Method: "CheckSmsCode",
|
|
|
237
|
+ Router: `/checkSmsCode`,
|
238
|
AllowHTTPMethods: []string{"post"},
|
238
|
AllowHTTPMethods: []string{"post"},
|
239
|
- MethodParams: param.Make(),
|
|
|
240
|
- Params: nil})
|
239
|
+ MethodParams: param.Make(),
|
|
|
240
|
+ Params: nil})
|
241
|
|
241
|
|
242
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
242
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
243
|
beego.ControllerComments{
|
243
|
beego.ControllerComments{
|
244
|
- Method: "ResetPassword",
|
|
|
245
|
- Router: `/resetPassword`,
|
244
|
+ Method: "ResetPassword",
|
|
|
245
|
+ Router: `/resetPassword`,
|
246
|
AllowHTTPMethods: []string{"post"},
|
246
|
AllowHTTPMethods: []string{"post"},
|
247
|
- MethodParams: param.Make(),
|
|
|
248
|
- Params: nil})
|
247
|
+ MethodParams: param.Make(),
|
|
|
248
|
+ Params: nil})
|
249
|
|
249
|
|
250
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
250
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
251
|
beego.ControllerComments{
|
251
|
beego.ControllerComments{
|
252
|
- Method: "SwitchCompany",
|
|
|
253
|
- Router: `/switchCompany`,
|
252
|
+ Method: "SwitchCompany",
|
|
|
253
|
+ Router: `/switchCompany`,
|
254
|
AllowHTTPMethods: []string{"post"},
|
254
|
AllowHTTPMethods: []string{"post"},
|
255
|
- MethodParams: param.Make(),
|
|
|
256
|
- Params: nil})
|
255
|
+ MethodParams: param.Make(),
|
|
|
256
|
+ Params: nil})
|
257
|
|
257
|
|
258
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
258
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
259
|
beego.ControllerComments{
|
259
|
beego.ControllerComments{
|
260
|
- Method: "UserCompanys",
|
|
|
261
|
- Router: `/userCompanys`,
|
260
|
+ Method: "UserCompanys",
|
|
|
261
|
+ Router: `/userCompanys`,
|
262
|
AllowHTTPMethods: []string{"post"},
|
262
|
AllowHTTPMethods: []string{"post"},
|
263
|
- MethodParams: param.Make(),
|
|
|
264
|
- Params: nil})
|
263
|
+ MethodParams: param.Make(),
|
|
|
264
|
+ Params: nil})
|
265
|
|
265
|
|
266
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
266
|
beego.GlobalControllerRouter["opp/controllers/v1:UserController"] = append(beego.GlobalControllerRouter["opp/controllers/v1:UserController"],
|
267
|
beego.ControllerComments{
|
267
|
beego.ControllerComments{
|
268
|
- Method: "UserInfo",
|
|
|
269
|
- Router: `/userInfo`,
|
268
|
+ Method: "UserInfo",
|
|
|
269
|
+ Router: `/userInfo`,
|
270
|
AllowHTTPMethods: []string{"post"},
|
270
|
AllowHTTPMethods: []string{"post"},
|
271
|
- MethodParams: param.Make(),
|
|
|
272
|
- Params: nil})
|
271
|
+ MethodParams: param.Make(),
|
|
|
272
|
+ Params: nil})
|
273
|
|
273
|
|
274
|
} |
274
|
} |