...
|
...
|
@@ -651,6 +651,23 @@ public class ActivityServiceImpl extends ServicePlusImpl<CActivityMapper,CActivi |
|
|
return AjaxResult.success(vos);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 模糊查询动态
|
|
|
* @param title
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
public AjaxResult searchActivities(String title) {
|
|
|
|
|
|
Long uId = UserContext.currentUserId();
|
|
|
|
|
|
List<CActivity> cActivities = activityMapper.searchActivity(title);
|
|
|
|
|
|
List<CActivityVo> cActivityVos = allActivity(cActivities, uId);
|
|
|
|
|
|
return AjaxResult.success(cActivityVos);
|
|
|
}
|
|
|
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "cActivity",value = "动态信息",dataType = "CActivity",required = true,paramType = "query"),
|
|
|
@ApiImplicitParam(name = "uId",value = "查看人Id",dataType = "Long",required = true,paramType = "query")
|
...
|
...
|
|