|  |  | 
 |  |  | import com.doumee.core.erp.model.openapi.request.*; | 
 |  |  | import com.doumee.core.erp.model.openapi.response.*; | 
 |  |  | import com.doumee.core.utils.Constants; | 
 |  |  | import com.doumee.dao.web.reqeust.ErpVisitDTO; | 
 |  |  | import com.doumee.service.business.VisitsService; | 
 |  |  | import com.doumee.service.business.ext.ERPSyncService; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiImplicitParam; | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private SystemDictDataBiz systemDictDataBiz; | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private VisitsService visitsService; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "调用凭据获取接口", notes = "访客端提供,供ERP端调用,向ERP提供统接口调用凭证") | 
 |  |  | 
 |  |  |         return  ApiResponse.success(null); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ErpLoginRequired | 
 |  |  |     @ApiOperation(value = "发起访客申请", notes = "访客端提供,供ERP端调用,ERP端发起访客申请") | 
 |  |  |     @PostMapping("/resource/createVisit") | 
 |  |  |     @ApiImplicitParams({ | 
 |  |  |             @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "授权token值", required = true) | 
 |  |  |     }) | 
 |  |  |     public ApiResponse  createVisit(@RequestBody ErpVisitDTO param) { | 
 |  |  |         param.setToken(this.getToken()); | 
 |  |  |         visitsService.createFKForErp(param); | 
 |  |  |         return  ApiResponse.success("操作成功"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "FTP账户信息", notes = "访客端提供,供ERP端调用,FTP账户信息,其中【FTP资源访问映射地址】用于图片回显使用," + |