撤销提交

This commit is contained in:
杨丹华
2025-06-04 14:25:24 +08:00
parent 6cc0d79779
commit c81e217f80
28 changed files with 329 additions and 566 deletions

View File

@@ -452,9 +452,9 @@ class Product extends Common
'message' => $post['message'],
]);
if ($ret->isEmpty()) {
return error(lang('product_detail.send_fail'));
return error(lang('提交成功'));
}
return success(lang('product_detail.send_success'));
return success(lang('提交失败'));
}
/**

View File

@@ -226,7 +226,7 @@ class TopicNas extends Common
View::assign('article', $article);
// 获取文章分类及文章数据
$parent = ArticleCategoryModel::uniqueLabel('CATEGORY_681182e0a4529')->value('id');
$parent = ArticleCategoryModel::uniqueLabel('CATEGORY_681182e0a4529')->language($this->lang_id)->value('id');
$article_categorys = ArticleCategoryModel::with(['article' => function ($query) {
$query->field(['id', 'title', 'category_id']);
}])