@@ -60,13 +60,13 @@ public class AppController {
6060 *
6161 * @return App信息 all app
6262 */
63- @ Operation (summary = "查询表App信息" ,
64- description = "查询表App信息" ,
65- responses = {
66- @ ApiResponse ( responseCode = "200" , description = "返回信息 " ,
67- content = @ Content ( mediaType = "application/json" ,
68- schema = @ Schema ( implementation = App . class ))),
69- @ ApiResponse ( responseCode = "400" , description = "请求失败" ) })
63+ @ Operation (summary = "查询表App信息" , description = "查询表App信息" ,
64+ responses = {
65+ @ ApiResponse ( responseCode = "200" , description = "返回信息" ,
66+ content = @ Content ( mediaType = "application/json " ,
67+ schema = @ Schema ( implementation = App . class ))) ,
68+ @ ApiResponse ( responseCode = "400" , description = "请求失败" )
69+ })
7070 @ SystemControllerLog (description = "查询表App信息" )
7171 @ GetMapping ("/apps/list" )
7272 public Result <List <App >> getAllApp () {
@@ -80,17 +80,15 @@ public Result<List<App>> getAllApp() {
8080 * @param id the id
8181 * @return App信息 app by id
8282 */
83- @ Operation (summary = "根据id查询表App信息" ,
84- description = "根据id查询表App信息" ,
85- parameters = {
86- @ Parameter (name = "id" , description = "App主键id" )
87- },
88- responses = {
89- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
90- content = @ Content (mediaType = "application/json" ,
91- schema = @ Schema (implementation = App .class ))),
92- @ ApiResponse (responseCode = "400" , description = "请求失败" )}
93- )
83+ @ Operation (summary = "根据id查询表App信息" , description = "根据id查询表App信息" ,
84+ parameters = {
85+ @ Parameter (name = "id" , description = "App主键id" )
86+ }, responses = {
87+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
88+ content = @ Content (mediaType = "application/json" ,
89+ schema = @ Schema (implementation = App .class ))),
90+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
91+ })
9492 @ SystemControllerLog (description = "根据id查询表App信息" )
9593 @ GetMapping ("/apps/{id}" )
9694 public Result <App > getAppById (@ PathVariable Integer id ) {
@@ -103,16 +101,14 @@ public Result<App> getAppById(@PathVariable Integer id) {
103101 * @param app the app
104102 * @return App信息 result
105103 */
106- @ Operation (summary = "创建app" ,
107- description = "创建app" ,
108- parameters = {
109- @ Parameter (name = "app" , description = "App入参对象" )
110- },
111- responses = {
112- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
113- content = @ Content (mediaType = "application/json" ,
114- schema = @ Schema (implementation = App .class ))),
115- @ ApiResponse (responseCode = "400" , description = "请求失败" )}
104+ @ Operation (summary = "创建app" , description = "创建app" ,
105+ parameters = {
106+ @ Parameter (name = "app" , description = "App入参对象" )
107+ }, responses = {
108+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
109+ content = @ Content (mediaType = "application/json" ,
110+ schema = @ Schema (implementation = App .class ))),
111+ @ ApiResponse (responseCode = "400" , description = "请求失败" )}
116112 )
117113 @ SystemControllerLog (description = "创建app" )
118114 @ PostMapping ("/apps/create" )
@@ -127,13 +123,15 @@ public Result<App> createApp(@Valid @RequestBody App app) {
127123 * @param app the app
128124 * @return App信息 result
129125 */
130- @ Operation (summary = "修改单个App信息" , description = "修改单个App信息" , parameters = {
126+ @ Operation (summary = "修改单个App信息" , description = "修改单个App信息" ,
127+ parameters = {
131128 @ Parameter (name = "id" , description = "appId" ),
132129 @ Parameter (name = "App" , description = "入参对象" )}, responses = {
133130 @ ApiResponse (responseCode = "200" , description = "返回信息" ,
134- content = @ Content (mediaType = "application/json" ,
135- schema = @ Schema (implementation = App .class ))),
136- @ ApiResponse (responseCode = "400" , description = "请求失败" )})
131+ content = @ Content (mediaType = "application/json" ,
132+ schema = @ Schema (implementation = App .class ))),
133+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
134+ })
137135 @ SystemControllerLog (description = "修改单个App信息" )
138136 @ PostMapping ("/apps/update/{id}" )
139137 public Result <App > updateApp (@ PathVariable Integer id , @ RequestBody App app ) {
@@ -147,17 +145,15 @@ public Result<App> updateApp(@PathVariable Integer id, @RequestBody App app) {
147145 * @param id the id
148146 * @return app信息 result
149147 */
150- @ Operation (summary = "删除app信息" ,
151- description = "删除app信息" ,
152- parameters = {
153- @ Parameter (name = "id" , description = "App主键id" )
154- },
155- responses = {
156- @ ApiResponse (responseCode = "200" , description = "返回信息" ,
157- content = @ Content (mediaType = "application/json" ,
158- schema = @ Schema (implementation = App .class ))),
159- @ ApiResponse (responseCode = "400" , description = "请求失败" )}
160- )
148+ @ Operation (summary = "删除app信息" , description = "删除app信息" ,
149+ parameters = {
150+ @ Parameter (name = "id" , description = "App主键id" )
151+ }, responses = {
152+ @ ApiResponse (responseCode = "200" , description = "返回信息" ,
153+ content = @ Content (mediaType = "application/json" ,
154+ schema = @ Schema (implementation = App .class ))),
155+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
156+ })
161157 @ SystemControllerLog (description = "删除app信息" )
162158 @ GetMapping ("/apps/delete/{id}" )
163159 public Result <App > deleteApp (@ PathVariable Integer id ) {
@@ -170,12 +166,14 @@ public Result<App> deleteApp(@PathVariable Integer id) {
170166 * @param id the id
171167 * @return the result
172168 */
173- @ Operation (summary = "获取应用信息详情" , description = "获取应用信息详情" , parameters = {
169+ @ Operation (summary = "获取应用信息详情" , description = "获取应用信息详情" ,
170+ parameters = {
174171 @ Parameter (name = "id" , description = "appId" )}, responses = {
175172 @ ApiResponse (responseCode = "200" , description = "返回信息" ,
176- content = @ Content (mediaType = "application/json" ,
177- schema = @ Schema (implementation = App .class ))),
178- @ ApiResponse (responseCode = "400" , description = "请求失败" )})
173+ content = @ Content (mediaType = "application/json" ,
174+ schema = @ Schema (implementation = App .class ))),
175+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
176+ })
179177 @ SystemControllerLog (description = "获取应用信息详情" )
180178 @ GetMapping ("/apps/detail/{id}" )
181179 public Result <App > detail (@ PathVariable Integer id ) {
@@ -189,13 +187,15 @@ public Result<App> detail(@PathVariable Integer id) {
189187 * @param param the param
190188 * @return the result
191189 */
192- @ Operation (summary = "修改应用对应的国际化语种关联" , description = "修改应用对应的国际化语种关联" , parameters = {
190+ @ Operation (summary = "修改应用对应的国际化语种关联" , description = "修改应用对应的国际化语种关联" ,
191+ parameters = {
193192 @ Parameter (name = "id" , description = "appId" ),
194193 @ Parameter (name = "param" , description = "入参对象" )}, responses = {
195194 @ ApiResponse (responseCode = "200" , description = "返回信息" ,
196- content = @ Content (mediaType = "application/json" ,
197- schema = @ Schema (implementation = App .class ))),
198- @ ApiResponse (responseCode = "400" , description = "请求失败" )})
195+ content = @ Content (mediaType = "application/json" ,
196+ schema = @ Schema (implementation = App .class ))),
197+ @ ApiResponse (responseCode = "400" , description = "请求失败" )
198+ })
199199 @ SystemControllerLog (description = "修改应用对应的国际化语种关联" )
200200 @ PostMapping ("/apps/i18n/{id}" )
201201 public Result <App > updateI18n (@ PathVariable Integer id , @ RequestBody Map <String , Object > param ) {
0 commit comments