shish 3 лет назад
Родитель
Сommit
8ed6db88b2
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      console/controllers/CgController.php

+ 2 - 0
console/controllers/CgController.php

@@ -27,6 +27,8 @@ class CgController extends Controller
             if (floatval($xsdDebt) != floatval($cgDebt)) {
                 echo $xsDOrderSn . " 欠款有问题 " . floatval($xsdDebt) . ' ' . floatval($cgDebt) . ' ' . $cgOrderSn . "\n";
             }
+            $order->remainDebtPrice = 0;
+            $order->save();
         }
     }