|
|
@@ -82,7 +82,9 @@ public class StepWorkController {
|
|
|
* @param data
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value="/mes-product/public/station/center/test", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value="/mes-product/public/station/center/test", method = RequestMethod.POST,
|
|
|
+ consumes = "application/json;charset=UTF-8",
|
|
|
+ produces = "application/json;charset=UTF-8")
|
|
|
public StepWorkApiResult<Map<String,Object>> test(HttpServletRequest request, @RequestBody String data){
|
|
|
if(!StringUtil.hasText(data) || !StringUtil.hasText(data) ){
|
|
|
throw new ApiStepWorkException(new StepWorkApiResult(ErrorMessage.BUSINESS_DATAILLEGAL));
|
|
|
@@ -102,7 +104,9 @@ public class StepWorkController {
|
|
|
* }
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value="/mes-product/public/station/center/over/station", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value="/mes-product/public/station/center/over/station", method = RequestMethod.POST,
|
|
|
+ consumes = "application/json;charset=UTF-8",
|
|
|
+ produces = "application/json;charset=UTF-8")
|
|
|
public StepWorkApiResult<Map<String,Object>> station(HttpServletRequest request, @RequestBody String data){
|
|
|
if(!StringUtil.hasText(data) || !StringUtil.hasText(data) ){
|
|
|
throw new ApiStepWorkException(new StepWorkApiResult(ErrorMessage.BUSINESS_DATAILLEGAL));
|