package com.upyuns.platform.rs.website.controller.web;

import com.github.wxiaoqi.security.auth.client.annotation.IgnoreUserToken;
import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.github.wxiaoqi.security.common.rest.BaseController;
import com.upyuns.platform.rs.website.biz.CompanyInfoBiz;
import com.upyuns.platform.rs.website.entity.CompanyInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("companyInfo/web")
public class CompanyInfoWebController extends BaseController<CompanyInfoBiz,CompanyInfo> {

	@GetMapping(value = "/app/unauth/detail")
	@IgnoreUserToken
	public ObjectRestResponse getOne() {
		return baseBiz.getIndexShow();
	}

}