原创 寫一個BaseController來提取出json化輸出數據和非json化輸出數據

package com.controller; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.h