增加了订单主表,修改了所有订单相关,支付相关代码
This commit is contained in:
@@ -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"){
|
||||
|
||||
Reference in New Issue
Block a user