This commit is contained in:
nanguaboss
2026-08-03 00:07:01 +08:00
commit 71c6e8d9c1
112 changed files with 7815 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
/**
* 数据定制接口(占位) GET/POST /api/marketing/data_custom.php
* 后续扩展:定制数据需求提交、报价、交付等。
*/
require_once __DIR__ . '/../common/db.php';
require_once __DIR__ . '/../common/response.php';
require_once __DIR__ . '/../common/auth.php';
require_once __DIR__ . '/../common/logger.php';
checkPermission('marketing');
$action = $_REQUEST['action'] ?? 'info';
if ($action === 'submit' && $_SERVER['REQUEST_METHOD'] === 'POST') {
checkAjax();
$content = [
'contact_name' => trim($_POST['contact_name'] ?? ''),
'contact_phone' => trim($_POST['contact_phone'] ?? ''),
'requirements' => trim($_POST['requirements'] ?? ''),
];
logCurrent('audit', 'marketing', null, null, $content);
Response::success(null, '需求已提交(占位实现,后续接入业务流)');
}
Response::success([
'title' => '数据定制',
'description' => '按行业/区域/规模等维度定制企业数据、人员数据,功能建设中(占位)。',
'status' => 'placeholder',
]);