审核
This commit is contained in:
@@ -160,7 +160,7 @@ class UsedCarDetailService
|
|||||||
// 处理介绍图片
|
// 处理介绍图片
|
||||||
if (!empty($data['intro_images'])) {
|
if (!empty($data['intro_images'])) {
|
||||||
if (is_array($data['intro_images'])) {
|
if (is_array($data['intro_images'])) {
|
||||||
$data['intro_images'] = json_encode($data['intro_images']);
|
$data['intro_images'] = implode(',', $data['intro_images']);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$data['intro_images'] = '';
|
$data['intro_images'] = '';
|
||||||
@@ -206,13 +206,6 @@ class UsedCarDetailService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 处理图片数据
|
|
||||||
if (isset($data['images'])) {
|
|
||||||
if (is_array($data['images'])) {
|
|
||||||
$data['images'] = json_encode($data['images']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 处理附件数据
|
// 处理附件数据
|
||||||
if (isset($data['attachment'])) {
|
if (isset($data['attachment'])) {
|
||||||
if (is_array($data['attachment'])) {
|
if (is_array($data['attachment'])) {
|
||||||
|
|||||||
@@ -84,7 +84,6 @@ Route::group('/common', function () {
|
|||||||
Route::any('/save/faqs', [app\common\controller\UsedCarDetailController::class, 'saveFaqs']);
|
Route::any('/save/faqs', [app\common\controller\UsedCarDetailController::class, 'saveFaqs']);
|
||||||
|
|
||||||
// 审核相关
|
// 审核相关
|
||||||
Route::any('/audit/submit', [app\common\controller\UsedCarDetailController::class, 'submitAudit']);
|
|
||||||
Route::any('/audit', [app\common\controller\UsedCarDetailController::class, 'audit']);
|
Route::any('/audit', [app\common\controller\UsedCarDetailController::class, 'audit']);
|
||||||
Route::any('/audit/records', [app\common\controller\UsedCarDetailController::class, 'auditRecords']);
|
Route::any('/audit/records', [app\common\controller\UsedCarDetailController::class, 'auditRecords']);
|
||||||
Route::any('/audit/stats', [app\common\controller\UsedCarDetailController::class, 'auditStats']);
|
Route::any('/audit/stats', [app\common\controller\UsedCarDetailController::class, 'auditStats']);
|
||||||
|
|||||||
Reference in New Issue
Block a user