c86f08c325
Co-Authored-By: Claude Code <noreply@anthropic.com>
25 lines
844 B
PHP
25 lines
844 B
PHP
<?php
|
|
/**
|
|
* 媒体批发接口(占位) GET/POST /api/marketing/media_wholesale.php
|
|
* 后续扩展:媒体资源批量询价、下单等。
|
|
*/
|
|
require_once __DIR__ . '/../common/Api.php';
|
|
$pdo = Api::boot(['module' => 'marketing']);
|
|
|
|
|
|
$action = $_REQUEST['action'] ?? 'info';
|
|
if ($action === 'inquiry' && $_SERVER['REQUEST_METHOD'] === 'POST') {
|
|
$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',
|
|
]);
|