|
|
@@ -10,6 +10,7 @@ import org.springframework.ui.ModelMap;
|
|
|
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 java.io.UnsupportedEncodingException;
|
|
|
|
|
|
@@ -31,6 +32,7 @@ public class SaleApcCheckController {
|
|
|
* @return ModelMap 封装成功信息以及异常信息
|
|
|
*/
|
|
|
@RequestMapping(value = "/operation/save", method = RequestMethod.POST)
|
|
|
+ @ResponseBody
|
|
|
public ModelMap saveApCheck(@RequestBody String json) throws UnsupportedEncodingException {
|
|
|
json = URLDecoderUtils.decode(json, "UTF-8");
|
|
|
PurchaseApCheck apCheck = FlexJsonUtils.fromJson(json, PurchaseApCheck.class);
|