first commit

This commit is contained in:
2026-05-07 16:37:25 +08:00
commit 822ed9a099
67 changed files with 1799 additions and 0 deletions

19
app/admin/route/app.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
use think\facade\Route;
use app\admin\middleware\Auth;
Route::get('ticketsfind', 'Ticket/ticketsFind'); // 通用查询方法
// Route::group(function () {
// // Route::get('ticketsfind', 'Ticket/ticketsFind'); // 通用查询方法
// Route::post('addticket', 'Ticket/save'); // 保存工单
// Route::put('ticket/:id', 'Ticket/updateTicket'); // 更新工单
// Route::delete('ticket/:id', 'Ticket/deleteTicket'); // 删除工单
// Route::get('operators', 'Ticket/getAllOperators'); // 根据运营人员查询
// Route::get('customers', 'Customers/getList');
// Route::post('addcustomername', 'Customers/addCustomer'); //添加客户名称
// Route::post('addemployee', 'Customers/addEmployee');
// Route::get('getStaffList', 'Ticket/getStaffList');
// Route::delete('deleteemployee/:empId', 'Customers/deleteEmployee');
// Route::delete('deletecustomer/:customerId', 'Customers/deleteCustomer');
// Route::get('getticketstatuscount', 'Ticket/getTicketStatusCount');
// })->middleware(Auth::class); // 只有这里需要 Token