xieruidong 2 yıl önce
ebeveyn
işleme
c54eb3106f

+ 1 - 1
application/service/byte_dance/ByteDancePay.php

@@ -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);
         }