退换货

This commit is contained in:
TL 2022-08-16 19:21:57 +08:00
parent ba67262e9e
commit fbd4f61128
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class RmaReasonRepo
*/
public static function list(array $data = [])
{
$builder = RmaReason::query();
$builder = RmaReason::query()->where('locale', current_language());
if (isset($data['name'])) {
$builder->where('name', 'like', "%{$data['name']}%");