修改返回数据

This commit is contained in:
liu 2024-06-08 10:52:56 +08:00
parent 9299f52210
commit e0f8caf64a

View File

@ -519,9 +519,9 @@ class OrderController extends BaseApiController
]
public function refund_reason()
{
return DictData::where('type_value','reason')->where('status',YesNoEnum::YES)
$data = DictData::where('type_value','reason')->where('status',YesNoEnum::YES)
->select()->toArray();
return $this->success('ok',$data);
}