添加了修改第三方链接排序接口
This commit is contained in:
@@ -42,6 +42,20 @@ public class TsUrlController{
|
||||
List<TsUrl> tsUrls=tsUrlService.list(tsUrlQueryWrapper);
|
||||
return Result.success(tsUrls);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param orderList 修改排序后的列表
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation("更新链接排序")
|
||||
@PutMapping(value = "/updateOrder")
|
||||
public ResponseMessage<?> updateOrder(@RequestBody List<TsUrl> orderList){
|
||||
//持久化修改排序后的列表
|
||||
boolean line=tsUrlService.updateBatchById(orderList);
|
||||
return Result.success(line);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user