diff --git a/plugin/admin/app/controller/TeacherScheduleTimeController.php b/plugin/admin/app/controller/TeacherScheduleTimeController.php index 2b22f80..7e33b31 100644 --- a/plugin/admin/app/controller/TeacherScheduleTimeController.php +++ b/plugin/admin/app/controller/TeacherScheduleTimeController.php @@ -511,12 +511,12 @@ class TeacherScheduleTimeController extends Crud mkdir($save_path, 0777, true); } $writer->save($save_path . $file_name); - +s return json([ 'code' => ResponseCode::WEB_API_SUCCESS, 'data' => [ -// 'url' => getenv('SERVER_DOMAIN') . $file_path, - 'file_url' => 'http://course.test' . $file_path . $file_name, + 'url' => getenv('SERVER_DOMAIN') . $file_path . $file_name, +// 'file_url' => 'http://course.test' . $file_path . $file_name, 'file_name' => $file_name ], 'msg' => 'success'