Commit 12f4aeec by 杨树贤

添加类型设置

parent ede15da2
......@@ -11,7 +11,7 @@ class CaseService extends BaseService
public function getCaseList($page, $pageSize)
{
//因为是获取案例,所以要指定一个ID类型
$caseTypeId = 10;
$caseTypeId = config('config.case_type_id');
$map = ['top_type_id' => $caseTypeId];
$model = new ArticleModel();
$list = $model->getCaseList($map, $page, $pageSize);
......
......@@ -15,4 +15,5 @@ return [
],
'faq_type_id' => 10,
'notice_type_id' => 10,
'case_type_id' => 10,
];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment