v1.0.10
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* 媒体批发接口(占位) GET/POST /api/marketing/media_wholesale.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 === 'inquiry' && $_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
checkAjax();
|
||||
$content = [
|
||||
'media_ids' => trim($_POST['media_ids'] ?? ''),
|
||||
'remark' => trim($_POST['remark'] ?? ''),
|
||||
];
|
||||
logCurrent('audit', 'marketing', 'social_accounts', null, $content);
|
||||
Response::success(null, '询价已提交(占位实现,后续接入业务流)');
|
||||
}
|
||||
|
||||
Response::success([
|
||||
'title' => '媒体批发',
|
||||
'description' => '媒体账号资源批量采购/询价,功能建设中(占位)。',
|
||||
'status' => 'placeholder',
|
||||
]);
|
||||
Reference in New Issue
Block a user