Postman 415 (Toetuseta meediumitüüp) ei toeta tüübi erandeid

Postman 415 Does Not Support Type Exceptions



Taustaliidese konfiguratsioon

/** * @author wangwei * @version v1.0.0 * @description My homepage * @date 2010-01-10 */ @RestController @RequestMapping('/api/{version}/mypage') public class MyPageController extends BaseController { @Autowired private UserDataService userDataService /** * showdoc * @catalog v1.0.1/My profile * @title My Profile - Get my career track * @description Get my career track based on token * @method get * @url /api/v1.0.1/mypage/findEmployeeHistory * @param token Required string Phone number * @param time Required int Request timestamp * @return {'status':'200','message':'Request success', 'data':[{'image':'http://192.168.4.170:8081/1545188000331-762166088940527181.png',' Orbit_id':'8','entry_time':1547006424,'company_name':'Suzhou Futong Precision Machinery Co., Ltd.','resignation_time':1547006424,'work_status':'52110'},{'image':'http: //192.168.4.170:8081/1545188000331-762166088940527181.png','orbit_id':'9','entry_time':1547006424,'company_name':'Aerospace Information','resignation_time':1547006424,'work_status':'52100 '}],'page':null,'ext':null} * @return_param data Object Career trajectory data * @return_param status string status * @remark here is the note information * @number 99 */ @RequestMapping(value = 'findEmployeeHistory', method = RequestMethod.GET, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE) public Resp findEmployeeHistory(HttpServletRequest request, String token, String time) { Map params = new HashMap() params.put('user_id', getUserid(request)) List data = userDataService.findListByUserid(params) return Resp.success(data) }

Lisage POSTMAIN-i tööriista päis



Content-Type application/json