记得上下班打卡 | git大法好,push需谨慎

Commit f476e6dc authored by 胡佳晨's avatar 胡佳晨

sweet

parent e4318a1b
...@@ -40,7 +40,7 @@ public class SweetAppletController { ...@@ -40,7 +40,7 @@ public class SweetAppletController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true),
}) })
public ResponseDto<SweetManualAppletDto> details(@RequestParam(defaultValue = "1") String manualId) { public ResponseDto<SweetManualAppletDto> details(@RequestParam() String manualId) {
return ResponseDto.success(redisDataUtils.getAppletPerformance(manualId)); return ResponseDto.success(redisDataUtils.getAppletPerformance(manualId));
} }
...@@ -49,7 +49,7 @@ public class SweetAppletController { ...@@ -49,7 +49,7 @@ public class SweetAppletController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true),
}) })
public ResponseDto<List<SweetManualNotify>> notify(@RequestParam(defaultValue = "1") String manualId) { public ResponseDto<List<SweetManualNotify>> notify(@RequestParam() String manualId) {
return ResponseDto.success(redisDataUtils.getNotifyRedisData(manualId)); return ResponseDto.success(redisDataUtils.getNotifyRedisData(manualId));
} }
...@@ -58,7 +58,7 @@ public class SweetAppletController { ...@@ -58,7 +58,7 @@ public class SweetAppletController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true),
}) })
public ResponseDto<List<String>> tag(@RequestParam(defaultValue = "1") String manualId) { public ResponseDto<List<String>> tag(@RequestParam() String manualId) {
return ResponseDto.success(redisDataUtils.getTagRedisData(manualId)); return ResponseDto.success(redisDataUtils.getTagRedisData(manualId));
} }
...@@ -72,12 +72,12 @@ public class SweetAppletController { ...@@ -72,12 +72,12 @@ public class SweetAppletController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "page", value = "页数", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "page", value = "页数", required = true),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
}) })
public ResponseDto<SweetManualArtistList2Dto> timeList(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<SweetManualArtistList2Dto> timeList(@RequestParam( )String manualId,
@RequestParam(defaultValue = "2021-12-01") String dateTime, @RequestParam() String dateTime,
@RequestParam(defaultValue = "测试舞台") String stage, @RequestParam() String stage,
@RequestParam(defaultValue = "isSign") Integer isSign, @RequestParam() Integer isSign,
@RequestParam(defaultValue = "page") Integer page, @RequestParam() Integer page,
@RequestParam(defaultValue = "size") Integer size) { @RequestParam() Integer size) {
String uid = CurrentUtil.getCurrentUid(); String uid = CurrentUtil.getCurrentUid();
int startPosition = (page - 1) * size; int startPosition = (page - 1) * size;
int endPosition = (page) * size; int endPosition = (page) * size;
...@@ -151,8 +151,8 @@ public class SweetAppletController { ...@@ -151,8 +151,8 @@ public class SweetAppletController {
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true),
}) })
public ResponseDto<SweetRichtext> richText(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<SweetRichtext> richText(@RequestParam() String manualId,
@RequestParam(defaultValue = "1") String type) { @RequestParam() String type) {
return ResponseDto.success(redisDataUtils.getRichTextRedisData(manualId, type)); return ResponseDto.success(redisDataUtils.getRichTextRedisData(manualId, type));
} }
...@@ -162,8 +162,8 @@ public class SweetAppletController { ...@@ -162,8 +162,8 @@ public class SweetAppletController {
@ApiImplicitParam(type = "query", dataType = "String", name = "uid", value = "用户id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "uid", value = "用户id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "artistsId", value = "艺人id", required = true) @ApiImplicitParam(type = "query", dataType = "String", name = "artistsId", value = "艺人id", required = true)
}) })
public ResponseDto<Boolean> watch(@RequestParam(defaultValue = "1") String uid, public ResponseDto<Boolean> watch(@RequestParam() String uid,
@RequestParam(defaultValue = "1") String artistsId) { @RequestParam() String artistsId) {
redisDataUtils.setArtistsRelationRedisVo(uid, artistsId, "sign"); redisDataUtils.setArtistsRelationRedisVo(uid, artistsId, "sign");
return ResponseDto.success(); return ResponseDto.success();
} }
...@@ -174,8 +174,8 @@ public class SweetAppletController { ...@@ -174,8 +174,8 @@ public class SweetAppletController {
@ApiImplicitParam(type = "query", dataType = "String", name = "uid", value = "用户id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "uid", value = "用户id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "artistsId", value = "艺人id", required = true) @ApiImplicitParam(type = "query", dataType = "String", name = "artistsId", value = "艺人id", required = true)
}) })
public ResponseDto<Boolean> sign(@RequestParam(defaultValue = "1") String uid, public ResponseDto<Boolean> sign(@RequestParam() String uid,
@RequestParam(defaultValue = "1") String artistsId) { @RequestParam() String artistsId) {
redisDataUtils.setArtistsRelationRedisVo(uid, artistsId, "watch"); redisDataUtils.setArtistsRelationRedisVo(uid, artistsId, "watch");
return ResponseDto.success(); return ResponseDto.success();
} }
......
...@@ -37,9 +37,9 @@ public class SweetArtistsController { ...@@ -37,9 +37,9 @@ public class SweetArtistsController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "艺人姓名 不查询从传递null", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "艺人姓名 不查询从传递null", required = false),
}) })
public ResponseDto<PageInfo<SweetArtists>> getList(@RequestParam(defaultValue = "1") Integer page, public ResponseDto<PageInfo<SweetArtists>> getList(@RequestParam() Integer page,
@RequestParam(defaultValue = "10") Integer size, @RequestParam() Integer size,
@RequestParam(defaultValue = "艺人姓名",required = false) String name) { @RequestParam(required = false) String name) {
return sweetArtistsService.getList(page, size, name); return sweetArtistsService.getList(page, size, name);
} }
...@@ -51,10 +51,10 @@ public class SweetArtistsController { ...@@ -51,10 +51,10 @@ public class SweetArtistsController {
@ApiImplicitParam(type = "query", dataType = "String", name = "pinyin", value = "姓名拼音", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "pinyin", value = "姓名拼音", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "describe", value = "艺人简介", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "describe", value = "艺人简介", required = true),
}) })
public ResponseDto<Boolean> add(@RequestParam(defaultValue = "") String picUrl, public ResponseDto<Boolean> add(@RequestParam() String picUrl,
@RequestParam(defaultValue = "艺人姓名") String name, @RequestParam() String name,
@RequestParam(defaultValue = "pinyin") String pinyin, @RequestParam() String pinyin,
@RequestParam(defaultValue = "艺人简介") String describe) { @RequestParam() String describe) {
return sweetArtistsService.add(picUrl, name, pinyin, describe); return sweetArtistsService.add(picUrl, name, pinyin, describe);
} }
...@@ -63,7 +63,7 @@ public class SweetArtistsController { ...@@ -63,7 +63,7 @@ public class SweetArtistsController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "artistsId", value = "艺人Id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "artistsId", value = "艺人Id", required = true),
}) })
public ResponseDto<SweetArtists> detail(@RequestParam(defaultValue = "1") String artistsId) { public ResponseDto<SweetArtists> detail(@RequestParam() String artistsId) {
return sweetArtistsService.detail(artistsId); return sweetArtistsService.detail(artistsId);
} }
...@@ -76,11 +76,11 @@ public class SweetArtistsController { ...@@ -76,11 +76,11 @@ public class SweetArtistsController {
@ApiImplicitParam(type = "query", dataType = "String", name = "pinyin", value = "姓名拼音", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "pinyin", value = "姓名拼音", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "describe", value = "艺人简介", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "describe", value = "艺人简介", required = true),
}) })
public ResponseDto<Boolean> change(@RequestParam(defaultValue = "1") String artistsId, public ResponseDto<Boolean> change(@RequestParam() String artistsId,
@RequestParam(defaultValue = "") String picUrl, @RequestParam() String picUrl,
@RequestParam(defaultValue = "艺人姓名") String name, @RequestParam() String name,
@RequestParam(defaultValue = "pinyin") String pinyin, @RequestParam() String pinyin,
@RequestParam(defaultValue = "艺人简介") String describe) { @RequestParam() String describe) {
return sweetArtistsService.change(artistsId, picUrl, name, pinyin, describe); return sweetArtistsService.change(artistsId, picUrl, name, pinyin, describe);
} }
......
...@@ -37,9 +37,9 @@ public class SweetManualArtistsController { ...@@ -37,9 +37,9 @@ public class SweetManualArtistsController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "manaulId", value = "手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manaulId", value = "手册id", required = true),
}) })
public ResponseDto<PageInfo<SweetManualArtistListDto>> getList(@RequestParam(defaultValue = "1") Integer page, public ResponseDto<PageInfo<SweetManualArtistListDto>> getList(@RequestParam() Integer page,
@RequestParam(defaultValue = "10") Integer size, @RequestParam() Integer size,
@RequestParam(defaultValue = "") String manualId) { @RequestParam() String manualId) {
return sweetManualArtistsService.getList(page, size, manualId); return sweetManualArtistsService.getList(page, size, manualId);
} }
...@@ -48,7 +48,7 @@ public class SweetManualArtistsController { ...@@ -48,7 +48,7 @@ public class SweetManualArtistsController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualRelationId", value = "手册艺人id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualRelationId", value = "手册艺人id", required = true),
}) })
public ResponseDto<SweetManualArtistListDto> details(@RequestParam(defaultValue = "") String manualRelationId) { public ResponseDto<SweetManualArtistListDto> details(@RequestParam() String manualRelationId) {
return sweetManualArtistsService.details(manualRelationId); return sweetManualArtistsService.details(manualRelationId);
} }
...@@ -63,13 +63,13 @@ public class SweetManualArtistsController { ...@@ -63,13 +63,13 @@ public class SweetManualArtistsController {
@ApiImplicitParam(type = "query", dataType = "String", name = "signatureStart", value = "签售开始时间", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "signatureStart", value = "签售开始时间", required = false),
@ApiImplicitParam(type = "query", dataType = "String", name = "signatureEnd", value = "签售结束时间", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "signatureEnd", value = "签售结束时间", required = false),
}) })
public ResponseDto<Boolean> add(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<Boolean> add(@RequestParam() String manualId,
@RequestParam(defaultValue = "10") String artistId, @RequestParam() String artistId,
@RequestParam(defaultValue = "") String stageId, @RequestParam() String stageId,
@RequestParam(defaultValue = "", required = false) String performanceStart, @RequestParam( required = false) String performanceStart,
@RequestParam(defaultValue = "", required = false) String performanceEnd, @RequestParam( required = false) String performanceEnd,
@RequestParam(defaultValue = "", required = false) String signatureStart, @RequestParam( required = false) String signatureStart,
@RequestParam(defaultValue = "", required = false) String signatureEnd) { @RequestParam( required = false) String signatureEnd) {
return sweetManualArtistsService.add(manualId, artistId, stageId, performanceStart, performanceEnd, signatureStart, signatureEnd); return sweetManualArtistsService.add(manualId, artistId, stageId, performanceStart, performanceEnd, signatureStart, signatureEnd);
} }
...@@ -85,14 +85,14 @@ public class SweetManualArtistsController { ...@@ -85,14 +85,14 @@ public class SweetManualArtistsController {
@ApiImplicitParam(type = "query", dataType = "String", name = "signatureStart", value = "签售开始时间", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "signatureStart", value = "签售开始时间", required = false),
@ApiImplicitParam(type = "query", dataType = "String", name = "signatureEnd", value = "签售结束时间", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "signatureEnd", value = "签售结束时间", required = false),
}) })
public ResponseDto<Boolean> change(@RequestParam(defaultValue = "1") String manualRelationId, public ResponseDto<Boolean> change(@RequestParam() String manualRelationId,
@RequestParam(defaultValue = "1") String manualId, @RequestParam() String manualId,
@RequestParam(defaultValue = "10") String artistId, @RequestParam() String artistId,
@RequestParam(defaultValue = "") String stageId, @RequestParam() String stageId,
@RequestParam(defaultValue = "", required = false) String performanceStart, @RequestParam( required = false) String performanceStart,
@RequestParam(defaultValue = "", required = false) String performanceEnd, @RequestParam( required = false) String performanceEnd,
@RequestParam(defaultValue = "", required = false) String signatureStart, @RequestParam( required = false) String signatureStart,
@RequestParam(defaultValue = "", required = false) String signatureEnd) { @RequestParam(required = false) String signatureEnd) {
return sweetManualArtistsService.change(manualRelationId, manualId, artistId, stageId, performanceStart, performanceEnd, signatureStart, signatureEnd); return sweetManualArtistsService.change(manualRelationId, manualId, artistId, stageId, performanceStart, performanceEnd, signatureStart, signatureEnd);
} }
...@@ -102,8 +102,8 @@ public class SweetManualArtistsController { ...@@ -102,8 +102,8 @@ public class SweetManualArtistsController {
@ApiImplicitParam(type = "query", dataType = "String", name = "manualRelationId", value = "手册艺人id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualRelationId", value = "手册艺人id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true) @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true)
}) })
public ResponseDto<Boolean> delete(@RequestParam(defaultValue = "1") String manualRelationId, public ResponseDto<Boolean> delete(@RequestParam() String manualRelationId,
@RequestParam(defaultValue = "1") String manualId) { @RequestParam() String manualId) {
return sweetManualArtistsService.delete(manualRelationId, manualId); return sweetManualArtistsService.delete(manualRelationId, manualId);
} }
} }
...@@ -37,9 +37,9 @@ public class SweetManualController { ...@@ -37,9 +37,9 @@ public class SweetManualController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "姓名", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "姓名", required = false),
}) })
public ResponseDto<PageInfo<SweetManualDto>> getList(@RequestParam(defaultValue = "1") Integer page, public ResponseDto<PageInfo<SweetManualDto>> getList(@RequestParam() Integer page,
@RequestParam(defaultValue = "10") Integer size, @RequestParam() Integer size,
@RequestParam(defaultValue = "",required = false) String name) { @RequestParam(required = false) String name) {
return sweetManualService.getManualList(page, size, name); return sweetManualService.getManualList(page, size, name);
} }
...@@ -49,8 +49,8 @@ public class SweetManualController { ...@@ -49,8 +49,8 @@ public class SweetManualController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "page", value = "页数", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "page", value = "页数", required = true),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
}) })
public ResponseDto<Boolean> changeRelease(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<Boolean> changeRelease(@RequestParam() String manualId,
@RequestParam(defaultValue = "1") Integer isRelease) { @RequestParam() Integer isRelease) {
return sweetManualService.changeRelease(manualId, isRelease); return sweetManualService.changeRelease(manualId, isRelease);
} }
...@@ -61,9 +61,9 @@ public class SweetManualController { ...@@ -61,9 +61,9 @@ public class SweetManualController {
@ApiImplicitParam(type = "query", dataType = "String", name = "performancesId", value = "演出id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "performancesId", value = "演出id", required = true),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "status", value = "开启状态", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "status", value = "开启状态", required = true),
}) })
public ResponseDto<Boolean> changeStatus(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<Boolean> changeStatus(@RequestParam() String manualId,
@RequestParam(defaultValue = "1") String performancesId, @RequestParam() String performancesId,
@RequestParam(defaultValue = "1") Integer status) { @RequestParam() Integer status) {
return sweetManualService.changeStatus(manualId, performancesId, status); return sweetManualService.changeStatus(manualId, performancesId, status);
} }
......
...@@ -39,10 +39,10 @@ public class SweetManualNotifyController { ...@@ -39,10 +39,10 @@ public class SweetManualNotifyController {
@ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "通知标题 不查询从传递null", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "通知标题 不查询从传递null", required = false),
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true),
}) })
public ResponseDto<PageInfo<SweetManualNotify>> getList(@RequestParam(defaultValue = "1") Integer page, public ResponseDto<PageInfo<SweetManualNotify>> getList(@RequestParam() Integer page,
@RequestParam(defaultValue = "10") Integer size, @RequestParam() Integer size,
@RequestParam(defaultValue = "标题", required = false) String name, @RequestParam( required = false) String name,
@RequestParam(defaultValue = "手册id") String manualId) { @RequestParam() String manualId) {
return sweetManualNotifyService.getList(page, size, name, manualId); return sweetManualNotifyService.getList(page, size, name, manualId);
} }
...@@ -53,9 +53,9 @@ public class SweetManualNotifyController { ...@@ -53,9 +53,9 @@ public class SweetManualNotifyController {
@ApiImplicitParam(type = "query", dataType = "String", name = "title", value = "标题", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "title", value = "标题", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "content", value = "内容", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "content", value = "内容", required = true),
}) })
public ResponseDto<Boolean> add(@RequestParam(defaultValue = "") String manualId, public ResponseDto<Boolean> add(@RequestParam() String manualId,
@RequestParam(defaultValue = "标题") String title, @RequestParam() String title,
@RequestParam(defaultValue = "内容") String content) { @RequestParam() String content) {
return sweetManualNotifyService.add(manualId, title, content); return sweetManualNotifyService.add(manualId, title, content);
} }
...@@ -64,7 +64,7 @@ public class SweetManualNotifyController { ...@@ -64,7 +64,7 @@ public class SweetManualNotifyController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true),
}) })
public ResponseDto<SweetManualNotify> detail(@RequestParam(defaultValue = "1") String manualId) { public ResponseDto<SweetManualNotify> detail(@RequestParam() String manualId) {
return sweetManualNotifyService.details(manualId); return sweetManualNotifyService.details(manualId);
} }
...@@ -76,10 +76,10 @@ public class SweetManualNotifyController { ...@@ -76,10 +76,10 @@ public class SweetManualNotifyController {
@ApiImplicitParam(type = "query", dataType = "String", name = "title", value = "标题", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "title", value = "标题", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "content", value = "内容", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "content", value = "内容", required = true),
}) })
public ResponseDto<Boolean> change(@RequestParam(defaultValue = "") String manualId, public ResponseDto<Boolean> change(@RequestParam() String manualId,
@RequestParam(defaultValue = "") String manualNotifyId, @RequestParam() String manualNotifyId,
@RequestParam(defaultValue = "标题") String title, @RequestParam() String title,
@RequestParam(defaultValue = "内容") String content) { @RequestParam() String content) {
return sweetManualNotifyService.change(manualId, manualNotifyId, title, content); return sweetManualNotifyService.change(manualId, manualNotifyId, title, content);
} }
...@@ -88,7 +88,7 @@ public class SweetManualNotifyController { ...@@ -88,7 +88,7 @@ public class SweetManualNotifyController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualNotifyId", value = "手册通知id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualNotifyId", value = "手册通知id", required = true),
}) })
public ResponseDto<Boolean> delete(@RequestParam(defaultValue = "1") String manualNotifyId) { public ResponseDto<Boolean> delete(@RequestParam() String manualNotifyId) {
return sweetManualNotifyService.delete(manualNotifyId); return sweetManualNotifyService.delete(manualNotifyId);
} }
} }
...@@ -34,8 +34,8 @@ public class SweetManualSortController { ...@@ -34,8 +34,8 @@ public class SweetManualSortController {
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "content", value = "内容 例子(POSITION_1,POSITION_2)", required = true) @ApiImplicitParam(type = "query", dataType = "String", name = "content", value = "内容 例子(POSITION_1,POSITION_2)", required = true)
}) })
public ResponseDto<Boolean> changeStatus(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<Boolean> changeStatus(@RequestParam() String manualId,
@RequestParam(defaultValue = "") String content) { @RequestParam() String content) {
return sweetManualSortService.add(manualId, content); return sweetManualSortService.add(manualId, content);
} }
...@@ -44,7 +44,7 @@ public class SweetManualSortController { ...@@ -44,7 +44,7 @@ public class SweetManualSortController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true) @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true)
}) })
public ResponseDto<SweetManualSort> changeStatus(@RequestParam(defaultValue = "1") String manualId) { public ResponseDto<SweetManualSort> changeStatus(@RequestParam() String manualId) {
return sweetManualSortService.get(manualId); return sweetManualSortService.get(manualId);
} }
} }
...@@ -36,8 +36,8 @@ public class SweetRichtextController { ...@@ -36,8 +36,8 @@ public class SweetRichtextController {
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "电子手册id", required = true),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true),
}) })
public ResponseDto<SweetRichtext> get(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<SweetRichtext> get(@RequestParam() String manualId,
@RequestParam(defaultValue = "1") Integer type) { @RequestParam() Integer type) {
return sweetRichtextService.get(manualId, type); return sweetRichtextService.get(manualId, type);
} }
...@@ -50,11 +50,11 @@ public class SweetRichtextController { ...@@ -50,11 +50,11 @@ public class SweetRichtextController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "picUrl", value = "图片地址", required = false), @ApiImplicitParam(type = "query", dataType = "Integer", name = "picUrl", value = "图片地址", required = false),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true),
}) })
public ResponseDto<Boolean> add(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<Boolean> add(@RequestParam() String manualId,
@RequestParam(defaultValue = "",required = false) String details, @RequestParam(required = false) String details,
@RequestParam(defaultValue = "100.100,200.200",required = false) String local, @RequestParam(required = false) String local,
@RequestParam(defaultValue = "",required = false) String picUrl, @RequestParam(required = false) String picUrl,
@RequestParam(defaultValue = "1") Integer type) { @RequestParam() Integer type) {
return sweetRichtextService.add(manualId, details, local, picUrl, type); return sweetRichtextService.add(manualId, details, local, picUrl, type);
} }
...@@ -67,11 +67,11 @@ public class SweetRichtextController { ...@@ -67,11 +67,11 @@ public class SweetRichtextController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "picUrl", value = "图片地址", required = false), @ApiImplicitParam(type = "query", dataType = "Integer", name = "picUrl", value = "图片地址", required = false),
@ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "type", value = "类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)", required = true),
}) })
public ResponseDto<Boolean> change(@RequestParam(defaultValue = "1") String manualId, public ResponseDto<Boolean> change(@RequestParam() String manualId,
@RequestParam(defaultValue = "",required = false) String details, @RequestParam(required = false) String details,
@RequestParam(defaultValue = "100.100,200.200",required = false) String local, @RequestParam(required = false) String local,
@RequestParam(defaultValue = "",required = false) String picUrl, @RequestParam(required = false) String picUrl,
@RequestParam(defaultValue = "1") Integer type) { @RequestParam() Integer type) {
return sweetRichtextService.change(manualId, details, local, picUrl, type); return sweetRichtextService.change(manualId, details, local, picUrl, type);
} }
......
...@@ -35,9 +35,9 @@ public class SweetStageController { ...@@ -35,9 +35,9 @@ public class SweetStageController {
@ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true), @ApiImplicitParam(type = "query", dataType = "Integer", name = "size", value = "数量", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "title", value = "舞台名称", required = false), @ApiImplicitParam(type = "query", dataType = "String", name = "title", value = "舞台名称", required = false),
}) })
public ResponseDto<PageInfo<SweetStage>> getList(@RequestParam(defaultValue = "1") Integer page, public ResponseDto<PageInfo<SweetStage>> getList(@RequestParam() Integer page,
@RequestParam(defaultValue = "10") Integer size, @RequestParam() Integer size,
@RequestParam(defaultValue = "名字",required = false) String title) { @RequestParam(required = false) String title) {
return sweetStageService.getList(page, size, title); return sweetStageService.getList(page, size, title);
} }
...@@ -46,7 +46,7 @@ public class SweetStageController { ...@@ -46,7 +46,7 @@ public class SweetStageController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "舞台名", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "舞台名", required = true),
}) })
public ResponseDto<Boolean> add(@RequestParam(defaultValue = "舞台名") String name) { public ResponseDto<Boolean> add(@RequestParam() String name) {
return sweetStageService.add(name); return sweetStageService.add(name);
} }
...@@ -55,7 +55,7 @@ public class SweetStageController { ...@@ -55,7 +55,7 @@ public class SweetStageController {
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "stageId", value = "舞台Id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "stageId", value = "舞台Id", required = true),
}) })
public ResponseDto<SweetStage> detail(@RequestParam(defaultValue = "1") String stageId) { public ResponseDto<SweetStage> detail(@RequestParam() String stageId) {
return sweetStageService.detail(stageId); return sweetStageService.detail(stageId);
} }
...@@ -65,8 +65,8 @@ public class SweetStageController { ...@@ -65,8 +65,8 @@ public class SweetStageController {
@ApiImplicitParam(type = "query", dataType = "String", name = "stageId", value = "舞台Id", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "stageId", value = "舞台Id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "舞台名", required = true), @ApiImplicitParam(type = "query", dataType = "String", name = "name", value = "舞台名", required = true),
}) })
public ResponseDto<Boolean> change(@RequestParam(defaultValue = "1") String stageId, public ResponseDto<Boolean> change(@RequestParam() String stageId,
@RequestParam(defaultValue = "舞台名") String name) { @RequestParam() String name) {
return sweetStageService.change(name, stageId); return sweetStageService.change(name, stageId);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment