|
@@ -85,6 +85,7 @@ import com.zhongzheng.modules.top.user.bo.TopSysTenantRegisterAddBo;
|
|
|
import com.zhongzheng.modules.top.user.service.ITopSysTenantRegisterService;
|
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
|
import com.zhongzheng.modules.user.service.IUserSubscribeService;
|
|
|
+import com.zhongzheng.modules.user.vo.UserStudyTimeVo;
|
|
|
import com.zhongzheng.modules.wx.bo.WxShareGoodsBo;
|
|
|
import com.zhongzheng.modules.wx.service.IWxPayService;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -93,10 +94,7 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
@@ -640,6 +638,12 @@ public class CommonController extends BaseController {
|
|
|
return AjaxResult.success("成功", iDistributionCashWithdrawalService.payCashCallBack(bo) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("根据身份证查询当前学员是否有学习")
|
|
|
+ @GetMapping("common/free/getStudyTimeByCard")
|
|
|
+ public AjaxResult<UserStudyTimeVo> getStudyTimeByCard(@RequestParam("idCard")String idCard) {
|
|
|
+ return AjaxResult.success(iUserService.getStudyTimeByCard(idCard));
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 获取企业ID
|
|
|
*/
|