今天看到项目中有这个注解查了下 是屏蔽一些无关紧要的警告
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.alibaba.fastjson.JSONObject;
import com.erchuinet.common.ModelVo;
import com.erchuinet.service.app.service.WalletService;
@SuppressWarnings({"unchecked","rawtypes"})
@RequestMapping("wallet")
@Controller
public class WalletController {
public Logger logger = Logger.getLogger(getClass());
@Autowired
private WalletService walletService;
@RequestMapping(value="/viewWalletBlance.do",method=RequestMethod.POST,produces="application/json;charset=utf-8")
@ResponseBody
public String viewWalletBlance(@RequestBody String params) {