소스 검색

feat: EK-3320: 订单增加 Invoice 下载

zhangl 1 개월 전
부모
커밋
a204c30970
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      common/helpers/Tool.php

+ 0 - 1
common/helpers/Tool.php

@@ -642,7 +642,6 @@ class Tool {
         $order = Order::find()
             ->where(['STATUS' => 1, 'IS_DELETE' => 0, 'INVOICE_NO' => ['$ne' => '']])
             ->orderBy(['PAY_AT' => SORT_DESC])
-            ->asArray()
             ->one();
         if ($order) {
             // 截取后 5 位, 转为数字+1