作者 lyh

gx

@@ -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 }