|
@@ -15,6 +15,7 @@ import com.fs.course.service.*;
|
|
import com.fs.course.service.impl.TencentCloudCosService;
|
|
import com.fs.course.service.impl.TencentCloudCosService;
|
|
import com.fs.course.vo.*;
|
|
import com.fs.course.vo.*;
|
|
import com.fs.his.vo.OptionsVO;
|
|
import com.fs.his.vo.OptionsVO;
|
|
|
|
+import com.fs.store.service.IFsStorePaymentService;
|
|
import com.fs.system.service.ISysConfigService;
|
|
import com.fs.system.service.ISysConfigService;
|
|
import com.github.pagehelper.PageHelper;
|
|
import com.github.pagehelper.PageHelper;
|
|
import com.github.pagehelper.PageInfo;
|
|
import com.github.pagehelper.PageInfo;
|
|
@@ -43,6 +44,8 @@ public class CourseController extends AppBaseController{
|
|
@Autowired
|
|
@Autowired
|
|
private IFsUserCourseService courseService;
|
|
private IFsUserCourseService courseService;
|
|
@Autowired
|
|
@Autowired
|
|
|
|
+ private IFsStorePaymentService storePaymentService;
|
|
|
|
+ @Autowired
|
|
private IFsUserCourseCategoryService courseCategoryService;
|
|
private IFsUserCourseCategoryService courseCategoryService;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -539,4 +542,17 @@ public class CourseController extends AppBaseController{
|
|
return R.ok().put("data", pageInfo);
|
|
return R.ok().put("data", pageInfo);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 手动根据销售员工信息发放奖励
|
|
|
|
+ * @param userId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/sendRewardByTest")
|
|
|
|
+ public R sendRewardByTest(@RequestBody Long userId)
|
|
|
|
+ {
|
|
|
|
+ logger.info("zyp \n【发放奖励】:{}",userId);
|
|
|
|
+ return storePaymentService.sendRewardByTest(userId);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|