Authored by mali

鉴定中心接口,加缓存

... ... @@ -4,8 +4,10 @@ import com.yoho.error.ServiceError;
import com.yoho.error.exception.ServiceException;
import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo;
import com.yohoufo.common.ApiResponse;
import com.yohoufo.common.cache.Cachable;
import com.yohoufo.order.model.response.AppraiseAddressResp;
import com.yohoufo.order.service.IExpressInfoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -58,6 +60,7 @@ public class ExpressInfoController {
* @return
*/
@RequestMapping(params = "method=ufo.order.appraiseAddress")
@Cachable(expire = 300)
public ApiResponse queryAppraiseAddress(@RequestParam("uid") Integer uid, @RequestParam(value="skup", required=false)Integer skup) {
LOG.info("method=ufo.order.appraiseAddress in, uid is {}, skup is {}", uid, skup);
... ...