Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
4f5d632
feat: add resource API
lu-yg Sep 5, 2025
df6ba91
fix: modify source API
lu-yg Sep 5, 2025
0fef229
fix: modify source API
lu-yg Sep 5, 2025
ab24c40
fix: modify source API
lu-yg Sep 5, 2025
787d1d1
fix: modify source API
lu-yg Sep 5, 2025
5fed78f
fix: modify source API
lu-yg Sep 5, 2025
d483f04
fix: modify source API
lu-yg Sep 5, 2025
72e9c67
fix: modify source API
lu-yg Sep 5, 2025
1fe61d5
fix: modify source API
lu-yg Sep 5, 2025
fd74ac8
fix: modify source API
lu-yg Sep 5, 2025
398e5c0
feat: add scheduled tasks
lu-yg Sep 9, 2025
0b8105c
fix: modify resource download
lu-yg Sep 9, 2025
6c9c7e4
fix: modify resource group update
lu-yg Sep 9, 2025
6178ed2
fix: modify resource group update
lu-yg Sep 9, 2025
3d723ae
fix: modify resource group update
lu-yg Sep 9, 2025
797045c
Merge branch 'opentiny:develop' into feat/resourceManagement
lu-yg Sep 10, 2025
3e2e616
fix: modify resource download
lu-yg Sep 10, 2025
603f65d
fix: modify block group
lu-yg Sep 15, 2025
f8d37c0
fix: modify AI chat
lu-yg Sep 16, 2025
e7c73d8
Merge branch 'opentiny:develop' into feat/resourceManagement
lu-yg Sep 16, 2025
6c4f3ea
fix: modify AI chat
lu-yg Sep 16, 2025
35a0b45
fix: modify AI chat
lu-yg Sep 16, 2025
4d7848b
fix: modify AI chat
lu-yg Sep 16, 2025
ad807d9
fix: modify AI chat
lu-yg Sep 16, 2025
53313bf
fix: modify AI chat
lu-yg Sep 16, 2025
ca4ff1b
fix: modify AI chat
lu-yg Sep 16, 2025
bff65fe
fix: modify AI chat
lu-yg Sep 16, 2025
f1fe5d0
Merge branch 'opentiny:develop' into feat/resourceManagement
lu-yg Sep 17, 2025
4eaee7a
fix: modify resource upload
lu-yg Sep 17, 2025
d211902
fix: modify resource upload
lu-yg Sep 17, 2025
28bef56
fix: modify resource upload
lu-yg Sep 17, 2025
a93100a
fix: modify resource upload
lu-yg Sep 17, 2025
1014efc
fix: modify resource upload
lu-yg Sep 17, 2025
68193ce
fix: modify resource upload
lu-yg Sep 17, 2025
64a7397
fix: modify resource upload
lu-yg Sep 17, 2025
363f728
fix: modify resource upload
lu-yg Sep 17, 2025
e0883be
fix: modify resource upload and download
lu-yg Sep 17, 2025
e6f23f6
Merge branch 'opentiny:develop' into feat/resourceManagement
lu-yg Sep 18, 2025
629eca3
fix: modify resource download
lu-yg Sep 18, 2025
786e039
fix: modify resource download
lu-yg Sep 18, 2025
3fde8ee
fix: modify resource download
lu-yg Sep 18, 2025
f04b791
fix: modify resource download
lu-yg Sep 18, 2025
60926cd
Merge branch 'opentiny:develop' into feat/resourceManagement
lu-yg Sep 22, 2025
e139d53
fix: Modify code format
lu-yg Sep 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 51 additions & 51 deletions base/src/main/java/com/tinyengine/it/controller/AppController.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ public class AppController {
*
* @return App信息 all app
*/
@Operation(summary = "查询表App信息",
description = "查询表App信息",
responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
@Operation(summary = "查询表App信息", description = "查询表App信息",
responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "查询表App信息")
@GetMapping("/apps/list")
public Result<List<App>> getAllApp() {
Expand All @@ -80,17 +80,15 @@ public Result<List<App>> getAllApp() {
* @param id the id
* @return App信息 app by id
*/
@Operation(summary = "根据id查询表App信息",
description = "根据id查询表App信息",
parameters = {
@Parameter(name = "id", description = "App主键id")
},
responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")}
)
@Operation(summary = "根据id查询表App信息", description = "根据id查询表App信息",
parameters = {
@Parameter(name = "id", description = "App主键id")
}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "根据id查询表App信息")
@GetMapping("/apps/{id}")
public Result<App> getAppById(@PathVariable Integer id) {
Expand All @@ -103,16 +101,14 @@ public Result<App> getAppById(@PathVariable Integer id) {
* @param app the app
* @return App信息 result
*/
@Operation(summary = "创建app",
description = "创建app",
parameters = {
@Parameter(name = "app", description = "App入参对象")
},
responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")}
@Operation(summary = "创建app", description = "创建app",
parameters = {
@Parameter(name = "app", description = "App入参对象")
}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")}
)
@SystemControllerLog(description = "创建app")
@PostMapping("/apps/create")
Expand All @@ -127,13 +123,15 @@ public Result<App> createApp(@Valid @RequestBody App app) {
* @param app the app
* @return App信息 result
*/
@Operation(summary = "修改单个App信息", description = "修改单个App信息", parameters = {
@Operation(summary = "修改单个App信息", description = "修改单个App信息",
parameters = {
@Parameter(name = "id", description = "appId"),
@Parameter(name = "App", description = "入参对象")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "修改单个App信息")
@PostMapping("/apps/update/{id}")
public Result<App> updateApp(@PathVariable Integer id, @RequestBody App app) {
Expand All @@ -147,17 +145,15 @@ public Result<App> updateApp(@PathVariable Integer id, @RequestBody App app) {
* @param id the id
* @return app信息 result
*/
@Operation(summary = "删除app信息",
description = "删除app信息",
parameters = {
@Parameter(name = "id", description = "App主键id")
},
responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")}
)
@Operation(summary = "删除app信息", description = "删除app信息",
parameters = {
@Parameter(name = "id", description = "App主键id")
}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "删除app信息")
@GetMapping("/apps/delete/{id}")
public Result<App> deleteApp(@PathVariable Integer id) {
Expand All @@ -170,12 +166,14 @@ public Result<App> deleteApp(@PathVariable Integer id) {
* @param id the id
* @return the result
*/
@Operation(summary = "获取应用信息详情", description = "获取应用信息详情", parameters = {
@Operation(summary = "获取应用信息详情", description = "获取应用信息详情",
parameters = {
@Parameter(name = "id", description = "appId")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "获取应用信息详情")
@GetMapping("/apps/detail/{id}")
public Result<App> detail(@PathVariable Integer id) {
Expand All @@ -189,13 +187,15 @@ public Result<App> detail(@PathVariable Integer id) {
* @param param the param
* @return the result
*/
@Operation(summary = "修改应用对应的国际化语种关联", description = "修改应用对应的国际化语种关联", parameters = {
@Operation(summary = "修改应用对应的国际化语种关联", description = "修改应用对应的国际化语种关联",
parameters = {
@Parameter(name = "id", description = "appId"),
@Parameter(name = "param", description = "入参对象")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = App.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "修改应用对应的国际化语种关联")
@PostMapping("/apps/i18n/{id}")
public Result<App> updateI18n(@PathVariable Integer id, @RequestBody Map<String, Object> param) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,15 @@ public class AppExtensionController {
* @param category 分类
* @return 返回值 all app extension
*/
@Operation(summary = "获取应用的桥接源或工具类列表", description = "获取应用的桥接源或工具类列表", parameters = {
@Operation(summary = "获取应用的桥接源或工具类列表", description = "获取应用的桥接源或工具类列表",
parameters = {
@Parameter(name = "appId", description = "appId"),
@Parameter(name = "category", description = "category")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "获取应用的桥接源或工具类列表")
@GetMapping("/apps/extension/list")
public Result<List<AppExtension>> getAllAppExtension(@RequestParam(value = "app") String appId,
Expand All @@ -86,12 +88,14 @@ public Result<List<AppExtension>> getAllAppExtension(@RequestParam(value = "app"
* @param map the map
* @return app extension by id
*/
@Operation(summary = "获取单个应用的桥接源或工具类列表", description = "获取单个应用的桥接源或工具类列表", parameters = {
@Operation(summary = "获取单个应用的桥接源或工具类列表", description = "获取单个应用的桥接源或工具类列表",
parameters = {
@Parameter(name = "map", description = "入参对象")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "获取单个应用的桥接源或工具类列表")
@GetMapping("/apps/extension")
public Result<AppExtension> getAppExtensionById(@RequestParam Map<String, String> map) {
Expand All @@ -109,12 +113,14 @@ public Result<AppExtension> getAppExtensionById(@RequestParam Map<String, String
* @param appExtension the app extension
* @return AppExtension
*/
@Operation(summary = "新建桥接或工具", description = "新建桥接或工具", parameters = {
@Operation(summary = "新建桥接或工具", description = "新建桥接或工具",
parameters = {
@Parameter(name = "AppExtension", description = "入参对象")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "新建桥接或工具")
@PostMapping("/apps/extension/create")
public Result<AppExtension> createAppExtension(@Valid @RequestBody AppExtension appExtension) {
Expand All @@ -127,12 +133,14 @@ public Result<AppExtension> createAppExtension(@Valid @RequestBody AppExtension
* @param appExtension the app extension
* @return AppExtension
*/
@Operation(summary = "修改桥接或工具", description = "修改桥接或工具", parameters = {
@Operation(summary = "修改桥接或工具", description = "修改桥接或工具",
parameters = {
@Parameter(name = "AppExtension", description = "入参对象")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "修改桥接或工具")
@PostMapping("/apps/extension/update")
public Result<AppExtension> updateAppExtension(@RequestBody AppExtension appExtension) {
Expand All @@ -145,12 +153,14 @@ public Result<AppExtension> updateAppExtension(@RequestBody AppExtension appExte
* @param id the id
* @return result
*/
@Operation(summary = "删除单个桥接或工具", description = "删除单个桥接或工具", parameters = {
@Operation(summary = "删除单个桥接或工具", description = "删除单个桥接或工具",
parameters = {
@Parameter(name = "id", description = "AppExtensionId")}, responses = {
@ApiResponse(responseCode = "200", description = "返回信息",
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")})
content = @Content(mediaType = "application/json",
schema = @Schema(implementation = AppExtension.class))),
@ApiResponse(responseCode = "400", description = "请求失败")
})
@SystemControllerLog(description = "删除单个桥接或工具")
@GetMapping("/apps/extension/delete")
public Result<AppExtension> deleteAppExtension(@RequestParam Integer id) {
Expand Down
Loading
Loading