|
@@ -80,6 +80,8 @@ import com.zhongzheng.modules.system.service.ISysConfigService;
|
|
|
import com.zhongzheng.modules.system.service.ISysTenantService;
|
|
|
import com.zhongzheng.modules.system.service.ISysWebService;
|
|
|
import com.zhongzheng.modules.system.vo.SysTenantVo;
|
|
|
+import com.zhongzheng.modules.tencentcloud.bo.FaceQueryBo;
|
|
|
+import com.zhongzheng.modules.tencentcloud.service.IFaceOcrService;
|
|
|
import com.zhongzheng.modules.tencentcloud.service.IVodService;
|
|
|
import com.zhongzheng.modules.top.user.bo.TopSysTenantRegisterAddBo;
|
|
|
import com.zhongzheng.modules.top.user.service.ITopSysTenantRegisterService;
|
|
@@ -179,7 +181,8 @@ public class CommonController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
|
private IMajorService iMajorService;
|
|
|
- private IZsBankService iZsBankService;
|
|
|
+ @Autowired
|
|
|
+ private IFaceOcrService iFaceService;
|
|
|
/**
|
|
|
* 通用下载请求
|
|
|
*
|
|
@@ -812,7 +815,7 @@ public class CommonController extends BaseController {
|
|
|
@GetMapping("/common/free/zsBank")
|
|
|
public AjaxResult zsBank() {
|
|
|
String date = DateUtils.dateTimeNow("yyyyMMdd");
|
|
|
- System.out.println(iZsBankService.searchBreakPoint(null,"755915680210507",date,date));
|
|
|
+ // System.out.println(iZsBankService.searchBreakPoint(null,"755915680210507",date,date));
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
@@ -878,12 +881,10 @@ public class CommonController extends BaseController {
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("导入二建精选题目Word模板列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('system:question:import')")
|
|
|
- @PostMapping("/common/free/importErJianWordQuestionList")
|
|
|
- public AjaxResult<Map<String,Object>> importErJianWordQuestionList(MultipartFile file, Long eduId, Long projectId, Long businessId, Long subjectId) throws Exception
|
|
|
- {
|
|
|
- Map<String,Object> result = iQuestionService.importErJianWordQuestionList(file, eduId, projectId, businessId, subjectId);
|
|
|
- return AjaxResult.success(result);
|
|
|
+ @ApiOperation("人脸属性")
|
|
|
+ @PostMapping("/common/free/detectFaceAttributes")
|
|
|
+ public AjaxResult<Void> DetectFaceAttributes(@RequestBody FaceQueryBo bo) {
|
|
|
+ iFaceService.DetectFaceAttributes(bo);
|
|
|
+ return AjaxResult.success();
|
|
|
}
|
|
|
}
|