api.php
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
use App\Http\Controllers\Api\NoticeController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::middleware(['cors'])->group(function () {
//埋点
Route::any('/customerVisit',[NoticeController::class,'customerVisit']);
//表单提交
Route::any('/traffic_visit',[NoticeController::class,'trafficVisit']);
Route::any('/inquiry',[NoticeController::class,'inquiry']);
Route::any('/inquiryQd',[NoticeController::class,'inquiryQd']);
//收集邮箱或者手机号
Route::any('/inquiryOtherInfo',[NoticeController::class,'inquiryOtherInfo']);
//A端上传验证文件
Route::any('/upload_verify_file',[NoticeController::class, 'uploadVerifyFile']);
//A端上传amp站验证文件
Route::any('/upload_amp_verify_file',[NoticeController::class, 'uploadAmpVerifyFile']);
//网站html处理
Route::any('/website_html_handle',[NoticeController::class, 'websiteHtml']);
//询盘文案
Route::any('/Hjoh59552',[NoticeController::class,'getRandInquiryText']);
//通知拉取代码
Route::any('/pullCode',[NoticeController::class,'pullCode']);
});