| | |
| | | |
| | | import com.doumee.biz.system.SystemDictDataBiz; |
| | | import com.doumee.config.annotation.ErpLoginRequired; |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "授权token值", required = true) |
| | | }) |
| | | public ApiResponse parkCarAuthor(@RequestBody CarAuthorRequest param) { |
| | | erpSyncService.parkCarAuthor(param); |
| | | return ApiResponse.success(null); |
| | | ApiResponse response = ApiResponse.success(null); |
| | | try { |
| | | erpSyncService.parkCarAuthor(param); |
| | | }catch (BusinessException e){ |
| | | response = ApiResponse.failed(e.getCode(), e.getMessage()); |
| | | }catch (Exception e){ |
| | | response = ApiResponse.failed(ResponseStatus.SERVER_ERROR.getCode(),ResponseStatus.SERVER_ERROR.getMessage()); |
| | | } |
| | | //-----TODO-------记日志-------start----- |
| | | |
| | | //-----TODO-------记日志-------end----- |
| | | return response; |
| | | } |
| | | |
| | | @ApiOperation(value = "访客申请审批结果通知接口", notes = "访客端提供,供访客端调用,提交访客申请审批的结果") |