|
@@ -21,6 +21,7 @@ import com.zhongzheng.common.utils.ServletUtils;
|
|
import com.zhongzheng.common.utils.ToolsUtils;
|
|
import com.zhongzheng.common.utils.ToolsUtils;
|
|
import com.zhongzheng.common.utils.file.FileUploadUtils;
|
|
import com.zhongzheng.common.utils.file.FileUploadUtils;
|
|
import com.zhongzheng.common.utils.file.FileUtils;
|
|
import com.zhongzheng.common.utils.file.FileUtils;
|
|
|
|
+import com.zhongzheng.common.utils.poi.EasyPoiUtil;
|
|
import com.zhongzheng.common.utils.poi.ExcelUtil;
|
|
import com.zhongzheng.common.utils.poi.ExcelUtil;
|
|
import com.zhongzheng.framework.config.ServerConfig;
|
|
import com.zhongzheng.framework.config.ServerConfig;
|
|
import com.zhongzheng.framework.web.service.WxLoginService;
|
|
import com.zhongzheng.framework.web.service.WxLoginService;
|
|
@@ -80,12 +81,14 @@ import com.zhongzheng.modules.system.vo.SysTenantVo;
|
|
import com.zhongzheng.modules.tencentcloud.bo.FaceQueryBo;
|
|
import com.zhongzheng.modules.tencentcloud.bo.FaceQueryBo;
|
|
import com.zhongzheng.modules.tencentcloud.service.IFaceOcrService;
|
|
import com.zhongzheng.modules.tencentcloud.service.IFaceOcrService;
|
|
import com.zhongzheng.modules.tencentcloud.service.IVodService;
|
|
import com.zhongzheng.modules.tencentcloud.service.IVodService;
|
|
|
|
+import com.zhongzheng.modules.top.order.bo.TopOldOrderCustomerBo;
|
|
import com.zhongzheng.modules.top.user.bo.TopSysTenantRegisterAddBo;
|
|
import com.zhongzheng.modules.top.user.bo.TopSysTenantRegisterAddBo;
|
|
import com.zhongzheng.modules.top.user.service.ITopSysTenantRegisterService;
|
|
import com.zhongzheng.modules.top.user.service.ITopSysTenantRegisterService;
|
|
import com.zhongzheng.modules.user.bo.UserBusinessGoodsBo;
|
|
import com.zhongzheng.modules.user.bo.UserBusinessGoodsBo;
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
import com.zhongzheng.modules.user.service.IUserSubscribeService;
|
|
import com.zhongzheng.modules.user.service.IUserSubscribeService;
|
|
import com.zhongzheng.modules.user.vo.UserBusinessGoodsVo;
|
|
import com.zhongzheng.modules.user.vo.UserBusinessGoodsVo;
|
|
|
|
+import com.zhongzheng.modules.user.vo.UserStudyExportVo;
|
|
import com.zhongzheng.modules.user.vo.UserStudyTimeVo;
|
|
import com.zhongzheng.modules.user.vo.UserStudyTimeVo;
|
|
import com.zhongzheng.modules.wx.bo.WxShareGoodsBo;
|
|
import com.zhongzheng.modules.wx.bo.WxShareGoodsBo;
|
|
import com.zhongzheng.modules.wx.service.IWxPayService;
|
|
import com.zhongzheng.modules.wx.service.IWxPayService;
|
|
@@ -915,4 +918,11 @@ public class CommonController extends BaseController {
|
|
return toAjax(iGoodsService.updateExamBusiness() ? 1 : 0);
|
|
return toAjax(iGoodsService.updateExamBusiness() ? 1 : 0);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation("获取用户同专业下课程")
|
|
|
|
+ @PostMapping("/common/free/studyRecord")
|
|
|
|
+ public AjaxResult<Void> studyRecord(MultipartFile file) {
|
|
|
|
+ List<UserStudyExportVo> customerBos = EasyPoiUtil.importExcel(file,0,1,UserStudyExportVo.class);
|
|
|
|
+ return AjaxResult.success(iUserService.studyRecord(customerBos));
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|