|
@@ -42,7 +42,7 @@ class ByteDancePay implements ByteDanceInterface {
|
|
|
$data=$this->data;
|
|
|
$data['sign']=$this->sign($data);
|
|
|
$order=ByteDance::httpPost('https://developer.toutiao.com/api/apps/ecpay/v1/create_order',$data);
|
|
|
- $obj=new ByteDanceResult();
|
|
|
+ $obj=ByteDanceResult::make();
|
|
|
foreach ($order as $key=>$item){
|
|
|
$obj->offsetSet($key,$item);
|
|
|
}
|