This commit is contained in:
parent
ae018d803f
commit
73468f9bc6
|
|
@ -41,7 +41,7 @@ class Translation extends Model
|
|||
$model = $model->where('group', $param['group']);
|
||||
}
|
||||
if (isset($param['translation_key']) && $param['translation_key'] != '') {
|
||||
$model = $model->where('translation_key', $param['translation_key']);
|
||||
$model = $model->where('translation_key', 'like', "%{$param['translation_key']}%");
|
||||
}
|
||||
return $model->orderByDesc("translation_id")
|
||||
->select(["translation_id", "group", "translation_key", "remark", "create_time", "update_time"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue