|  |  |  | 
|---|
|  |  |  | 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.service.business.ERPSyncService; | 
|---|
|  |  |  | import com.doumee.service.business.ext.ERPSyncService; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiImplicitParam; | 
|---|
|  |  |  | import io.swagger.annotations.ApiImplicitParams; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation(value = "FTP账户信息", notes = "访客端提供,供ERP端调用,FTP账户信息") | 
|---|
|  |  |  | @ApiOperation(value = "FTP账户信息", notes = "访客端提供,供ERP端调用,FTP账户信息,其中【FTP资源访问映射地址】用于图片回显使用," + | 
|---|
|  |  |  | "比如人脸图片回显拼接:【FTP资源访问映射地址】+【FTP用户图片存储目录】+【实际人脸图片存储字段内容】" + | 
|---|
|  |  |  | "如:http://175.27.187.84/file4/member/20231211/skjd-skdjf4enc-flgk.png") | 
|---|
|  |  |  | @GetMapping("/resource/ftpAccount") | 
|---|
|  |  |  | public ApiResponse<Map<String,Object>> ftpAccount() { | 
|---|
|  |  |  | Map<String,Object> map = new HashMap<>(); | 
|---|
|  |  |  | 
|---|
|  |  |  | systemDictDataBiz.queryByCode(Constants.FTP,Constants.DEVICE_EVENT_IMG).getCode()); | 
|---|
|  |  |  | map.put("FTP用户图片存储目录", | 
|---|
|  |  |  | systemDictDataBiz.queryByCode(Constants.FTP,Constants.MEMBER_IMG).getCode()); | 
|---|
|  |  |  | map.put("FTP资源访问映射地址", | 
|---|
|  |  |  | systemDictDataBiz.queryByCode(Constants.FTP,Constants.FTP_RESOURCE_PATH).getCode()); | 
|---|
|  |  |  | return  ApiResponse.success(map); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|