You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.6 KiB
40 lines
1.6 KiB
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Niucloud-admin 企业快速开发的多应用管理平台
|
|
// +----------------------------------------------------------------------
|
|
// | 官方网址:https://www.niucloud.com
|
|
// +----------------------------------------------------------------------
|
|
// | niucloud团队 版权所有 开源版本可自由商用
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Niucloud Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
use think\facade\Route;
|
|
|
|
use app\adminapi\middleware\AdminCheckRole;
|
|
use app\adminapi\middleware\AdminCheckToken;
|
|
use app\adminapi\middleware\AdminLog;
|
|
|
|
// USER_CODE_BEGIN -- communication_records
|
|
|
|
Route::group('communication_records', function () {
|
|
|
|
//沟通记录列表
|
|
Route::get('communication_records', 'communication_records.CommunicationRecords/lists');
|
|
//沟通记录详情
|
|
Route::get('communication_records/:id', 'communication_records.CommunicationRecords/info');
|
|
//添加沟通记录
|
|
Route::post('communication_records', 'communication_records.CommunicationRecords/add');
|
|
//编辑沟通记录
|
|
Route::put('communication_records/:id', 'communication_records.CommunicationRecords/edit');
|
|
//删除沟通记录
|
|
Route::delete('communication_records/:id', 'communication_records.CommunicationRecords/del');
|
|
|
|
Route::get('customer_resources_all','communication_records.CommunicationRecords/getCustomerResourcesAll');
|
|
|
|
})->middleware([
|
|
AdminCheckToken::class,
|
|
AdminCheckRole::class,
|
|
AdminLog::class
|
|
]);
|
|
// USER_CODE_END -- communication_records
|
|
|