<?php

use App\Http\Controllers\Api\InquiryController;
use App\Http\Controllers\Api\NoticeController;
use App\Http\Controllers\Cside\PageController;
use App\Http\Controllers\Cside\Visit\VisitController;
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::post('/customerVisit',[VisitController::class,'customerVisit']);
//表单创建
Route::post('/traffic_visit',[\App\Http\Controllers\Api\TrafficController::class,'trafficVisit']);
//表单提交
Route::any('/inquiry',[InquiryController::class,'inquiry']);
//收集邮箱或者手机号
Route::any('/inquiryOtherInfo',[InquiryController::class,'inquiryOtherInfo']);
//起点表单
Route::any('/inquiryQd',[InquiryController::class,'inquiryQd']);
//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']);