|
@@ -52,7 +52,8 @@ class Index extends Backend
|
|
3 => '海柿购',
|
|
3 => '海柿购',
|
|
4 => '柿知识'
|
|
4 => '柿知识'
|
|
];
|
|
];
|
|
- $categorydata = [0,1,2,3,4];
|
|
|
|
|
|
+ $categorydata = [0 => ['belong' => '0,1,2,3,4', 'title' => __('None')]];
|
|
|
|
+
|
|
foreach ($this->rulelist as $k => $v) {
|
|
foreach ($this->rulelist as $k => $v) {
|
|
$categorydata[$v['id']] = $v;
|
|
$categorydata[$v['id']] = $v;
|
|
}
|
|
}
|