diff --git a/app/Http/Controllers/Admin/CourseController.php b/app/Http/Controllers/Admin/CourseController.php index 69b3193..15bbd2a 100755 --- a/app/Http/Controllers/Admin/CourseController.php +++ b/app/Http/Controllers/Admin/CourseController.php @@ -206,6 +206,7 @@ class CourseController extends BaseController * @OA\Parameter(name="longitude", in="query", @OA\Schema(type="string"), description="经度"), * @OA\Parameter(name="latitude", in="query", @OA\Schema(type="string"), description="纬度"), * @OA\Parameter(name="address_detail", in="query", @OA\Schema(type="string"), description="详细地址"), + * @OA\Parameter(name="url_title", in="query", @OA\Schema(type="string"), description="链接地址"), * @OA\Response( * response=200, * description="操作成功" diff --git a/database/migrations/2025_08_19_110651_alert_courses_table.php b/database/migrations/2025_08_19_110651_alert_courses_table.php new file mode 100644 index 0000000..607f5c9 --- /dev/null +++ b/database/migrations/2025_08_19_110651_alert_courses_table.php @@ -0,0 +1,31 @@ +string('url_title')->nullable()->comment('链接标题'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('courses', function (Blueprint $table) { + // + }); + } +};