diff --git a/niucloud/app/api/route/route.php b/niucloud/app/api/route/route.php index eebd7708..790e3a1a 100644 --- a/niucloud/app/api/route/route.php +++ b/niucloud/app/api/route/route.php @@ -339,7 +339,7 @@ Route::group(function () { //员工端-学员退出课程安排 Route::post('courseSchedule/leaveSchedule', 'apiController.CourseSchedule/leaveSchedule'); //员工端-升级等待位学员为正式学员 - Route::post('course/upgradeStudentSchedule', 'apiController.CourseSchedule/upgradeStudentSchedule'); + Route::post('course/upgradeStudentSchedule', 'apiController.CourseScheduleController/upgradeStudentSchedule'); //员工端-获取筛选选项 Route::get('courseSchedule/filterOptions', 'apiController.CourseSchedule/getFilterOptions'); //员工端-获取场地时间选项 diff --git a/niucloud/app/service/api/apiService/CourseScheduleService.php b/niucloud/app/service/api/apiService/CourseScheduleService.php index 3d894dd4..eb83ea30 100644 --- a/niucloud/app/service/api/apiService/CourseScheduleService.php +++ b/niucloud/app/service/api/apiService/CourseScheduleService.php @@ -1744,7 +1744,6 @@ class CourseScheduleService extends BaseApiService // 更新学员记录 $updateData = [ 'schedule_type' => 1, // 升级为正式位 - 'position' => $formalCount + 1, // 新的正式位位置 'updated_at' => date('Y-m-d H:i:s'), 'remark' => ($data['remark'] ?? '') . ' [从等待位升级]' ];