获取成功多语言

This commit is contained in:
Edward Yang 2022-08-22 20:37:39 +08:00
parent 0717ecccba
commit 8659720060
1 changed files with 1 additions and 1 deletions

View File

@ -41,6 +41,6 @@ class BrandController extends Controller
{
$brands = BrandRepo::autocomplete($request->get('name') ?? '');
return json_success('获取成功!', $brands);
return json_success(trans('common.get_success'), $brands);
}
}