...
|
...
|
@@ -3,6 +3,7 @@ package com.yohoufo.resource.controller; |
|
|
import com.yoho.tools.docs.ApiOperation;
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.common.annotation.IgnoreSession;
|
|
|
import com.yohoufo.common.cache.Cachable;
|
|
|
import com.yohoufo.dal.resource.model.ActivtyTemplated;
|
|
|
import com.yohoufo.dal.resource.model.ActivtyTemplatedFloor;
|
|
|
import com.yohoufo.resource.request.ResourcesRequest;
|
...
|
...
|
@@ -39,6 +40,7 @@ public class ActivtyTemplatedController { |
|
|
@RequestMapping(params = "method=ufo.activty.get")
|
|
|
@IgnoreSession
|
|
|
@ResponseBody
|
|
|
@Cachable(expire = 120)
|
|
|
public ApiResponse getResource(@RequestParam(name = "templated_id") Integer templatedId) {
|
|
|
logger.info("Get activty by content templatedId[{}]", templatedId);
|
|
|
ActivtyTemplated data = activtyTemplatedService.get(templatedId);
|
...
|
...
|
|