瀏覽代碼

get mobile

xieruidong 2 年之前
父節點
當前提交
c54eb3106f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/service/byte_dance/ByteDancePay.php

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