翻译
This commit is contained in:
@@ -75,7 +75,7 @@ class SysDictItemService
|
|||||||
return $config;
|
return $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
public $translatFields = ['item_label'];
|
public $translatFields = ['item_label','remark'];
|
||||||
|
|
||||||
public function afterServiceStore($res)
|
public function afterServiceStore($res)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class SysDictItemTranslation extends Model
|
|||||||
/**
|
/**
|
||||||
* 允许自动填充模型字段
|
* 允许自动填充模型字段
|
||||||
*/
|
*/
|
||||||
protected $fillable = ['id', 'dict_id', 'locale', 'dict_name', 'description', 'created_at', 'updated_at'];
|
protected $fillable = ['id', 'dict_id', 'remark', 'locale', 'dict_name', 'description', 'created_at', 'updated_at'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 不允许自动填充模型字段
|
* 不允许自动填充模型字段
|
||||||
|
|||||||
Reference in New Issue
Block a user