2025-03-17 10:04:28 +08:00

24 lines
1.0 KiB
PHP

<?php
use think\facade\Route;
Route::get('crud/leave_word', 'crud.LeaveWord/index')->option(['real_name' => '联系我们留言列表接口']);
Route::get('crud/leave_word/create', 'crud.LeaveWord/create')->option(['real_name' => '联系我们留言获取创建表单接口']);
Route::post('crud/leave_word', 'crud.LeaveWord/save')->option(['real_name' => '联系我们留言保存接口']);
Route::get('crud/leave_word/:id/edit', 'crud.LeaveWord/edit')->option(['real_name' => '联系我们留言获取修改表单接口']);
Route::put('crud/leave_word/:id', 'crud.LeaveWord/update')->option(['real_name' => '联系我们留言修改接口']);
Route::put('crud/leave_word/status/:id', 'crud.LeaveWord/status')->option(['real_name' => '联系我们留言修改状态接口']);
Route::delete('crud/leave_word/:id', 'crud.LeaveWord/delete')->option(['real_name' => '联系我们留言删除接口']);
Route::get('crud/leave_word/:id', 'crud.LeaveWord/read')->option(['real_name' => '联系我们留言查看接口']);