fix bug
This commit is contained in:
parent
97856ac4f2
commit
2bb1825208
@ -511,12 +511,12 @@ class TeacherScheduleTimeController extends Crud
|
|||||||
mkdir($save_path, 0777, true);
|
mkdir($save_path, 0777, true);
|
||||||
}
|
}
|
||||||
$writer->save($save_path . $file_name);
|
$writer->save($save_path . $file_name);
|
||||||
|
s
|
||||||
return json([
|
return json([
|
||||||
'code' => ResponseCode::WEB_API_SUCCESS,
|
'code' => ResponseCode::WEB_API_SUCCESS,
|
||||||
'data' => [
|
'data' => [
|
||||||
// 'url' => getenv('SERVER_DOMAIN') . $file_path,
|
'url' => getenv('SERVER_DOMAIN') . $file_path . $file_name,
|
||||||
'file_url' => 'http://course.test' . $file_path . $file_name,
|
// 'file_url' => 'http://course.test' . $file_path . $file_name,
|
||||||
'file_name' => $file_name
|
'file_name' => $file_name
|
||||||
],
|
],
|
||||||
'msg' => 'success'
|
'msg' => 'success'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user