|
|
@@ -75,10 +75,16 @@ public class WishApi {
|
|
|
|
|
|
@ApiOperation(value="最近互换心愿列表")
|
|
|
@RequestMapping(value = "recentlyList",method = RequestMethod.POST)
|
|
|
- public MessageResult recentlyList(){
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name="wishInfoId", value="心愿信息ID", required=true, paramType="query"),
|
|
|
+ })
|
|
|
+ public MessageResult recentlyList(String wishInfoId){
|
|
|
MessageResult msgResult = new MessageResult<>();
|
|
|
|
|
|
Map<String,Object> searchParams = new HashMap<>();
|
|
|
+ if (StringUtils.isNotEmpty(wishInfoId)) {
|
|
|
+ searchParams.put("wishInfoId",wishInfoId);
|
|
|
+ }
|
|
|
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("create_time","desc"));
|