/**
 * 
 */
package com.pcloud.common.core.facade.impl;

import org.codehaus.jackson.JsonParseException;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.pcloud.common.core.facade.InterfaceFacade;
import com.pcloud.common.dto.ResponseDto;
import com.pcloud.common.exceptions.BizException;
import com.pcloud.common.permission.PermissionException;

/**
 * 
 * @author：songx
 * @date：2018年7月25日,下午5:29:52
 */
@RequestMapping(value = "/interface")
@RestController("interfaceFacade")
public class InterfaceFacadeImpl implements InterfaceFacade {

	/**
	 * 微信端，获取所有书籍资源文件信息
	 */
	@Override
	@RequestMapping(value = "/health", method = RequestMethod.POST)
	public ResponseDto<Boolean> health() throws BizException, PermissionException, JsonParseException {
		return new ResponseDto<>(true);
	}

}
