撤销提交
This commit is contained in:
@@ -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('提交失败'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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']);
|
||||
}])
|
||||
|
||||
Reference in New Issue
Block a user