|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson2.JSONObject;
|
5
|
5
|
import com.lqkj.link.message.MessageBean;
|
6
|
6
|
import com.lqkj.link.message.MessageListBean;
|
7
|
7
|
import com.lqkj.link.module.base.service.BaseService;
|
|
8
|
+import com.lqkj.link.module.bulletin.domain.BulletinInfo;
|
8
|
9
|
import com.lqkj.link.module.jwt.service.JwtService;
|
9
|
10
|
import com.lqkj.link.module.zone.domain.ZoneInfo;
|
10
|
11
|
import com.lqkj.link.module.zone.service.ZoneInfoService;
|
|
@@ -341,5 +342,40 @@ public class ZoneInfoController {
|
341
|
342
|
return MessageBean.ok(zoneInfoService.getSpawnPointList(zoneId), "获取出生点列表");
|
342
|
343
|
}
|
343
|
344
|
|
|
345
|
+ @Operation(
|
|
346
|
+ summary = "保存作品",
|
|
347
|
+ description = "保存作品",
|
|
348
|
+ requestBody = @io.swagger.v3.oas.annotations.parameters.RequestBody(
|
|
349
|
+ description = "通知公告信息实体",
|
|
350
|
+ required = true,
|
|
351
|
+ content = @Content(
|
|
352
|
+ mediaType = "application/json",
|
|
353
|
+ schema = @Schema(implementation = BulletinInfo.class)
|
|
354
|
+ )
|
|
355
|
+ ))
|
|
356
|
+ @PostMapping("/save")
|
|
357
|
+ public MessageBean<String> save(@RequestBody ZoneInfo zoneInfo) {
|
|
358
|
+ zoneInfoService.save(zoneInfo);
|
|
359
|
+ return MessageBean.ok();
|
|
360
|
+ }
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+ @Operation(
|
|
364
|
+ summary = "作品详情",
|
|
365
|
+ description = "作品详情",
|
|
366
|
+ parameters = {
|
|
367
|
+ @Parameter(name = "zoneId", description = "作品ID", required = true)
|
|
368
|
+ }
|
|
369
|
+ )
|
|
370
|
+ @PostMapping("/zoneDetails")
|
|
371
|
+ public MessageBean<ZoneInfo> zoneDetails(@RequestParam Integer zoneId) {
|
|
372
|
+
|
|
373
|
+ return MessageBean.ok(zoneInfoService.zoneDetails(zoneId), "作品详情");
|
|
374
|
+ }
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
344
|
380
|
|
345
|
381
|
}
|