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

import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.github.wxiaoqi.security.common.rest.BaseController;
import com.upyuns.platform.rs.website.biz.FeedbackInfoBiz;
import com.upyuns.platform.rs.website.entity.FeedbackInfo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("feedbackInfo/web")
public class FeedbackInfoWebController extends BaseController<FeedbackInfoBiz,FeedbackInfo> {

	@PostMapping(value = "addObj")
	public ObjectRestResponse addObj(@RequestBody FeedbackInfo feedbackInfo) {
		return baseBiz.addObj(feedbackInfo);
	}

}