增加了订单主表,修改了所有订单相关,支付相关代码

This commit is contained in:
2024-04-08 14:51:28 +08:00
parent c0f6fbca06
commit 944ab44305
21 changed files with 2044 additions and 742 deletions
@@ -10,6 +10,7 @@ use App\Model\UserPatient;
use App\Services\MessagePush;
use App\Services\OrderPrescriptionService;
use App\Services\OrderProductService;
use App\Services\OrderService;
use App\Utils\Log;
use Extend\Kuaidi100\Kuaidi;
use Extend\Prescription\Prescription;
@@ -102,8 +103,8 @@ class getPrescriptionOrderStatusCommand extends HyperfCommand
}
// 执行退款
$OrderProductService = new OrderProductService();
$OrderProductService->OrderProductRefund($item['order_product_id'],"订单退款");
$OrderService = new OrderService();
$OrderService->orderRefund($item['order_product_no'],"订单退款");
}
if ($result['status'] == "CFD05"){