正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -19,6 +19,6 @@ class CustomModuleContent extends Base | @@ -19,6 +19,6 @@ class CustomModuleContent extends Base | ||
| 19 | protected $connection = 'custom_mysql'; | 19 | protected $connection = 'custom_mysql'; |
| 20 | 20 | ||
| 21 | public function getCategoryIdAttribute($value){ | 21 | public function getCategoryIdAttribute($value){ |
| 22 | - return Arr::setToArr(trim($value,',')); | 22 | + return explode(',',trim($value,',')); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
-
请 注册 或 登录 后发表评论