This commit is contained in:
wucongxing8150 2024-04-25 16:42:15 +08:00
parent 7336febb16
commit bfad01fda9
2 changed files with 5 additions and 2 deletions

View File

@ -41,6 +41,7 @@ use App\Services\InquiryService;
use App\Services\MessagePush; use App\Services\MessagePush;
use App\Services\OrderPrescriptionService; use App\Services\OrderPrescriptionService;
use App\Services\OrderProductService; use App\Services\OrderProductService;
use App\Services\OrderServicePackageService;
use App\Services\PatientOrderService; use App\Services\PatientOrderService;
use App\Services\UserDoctorService; use App\Services\UserDoctorService;
use App\Utils\Data; use App\Utils\Data;
@ -459,7 +460,9 @@ class TestController extends AbstractController
} }
public function test_17(){ public function test_17(){
$OrderServicePackageService = new OrderServicePackageService();
$result = $OrderServicePackageService->getImServicePackageCloudCustomData("I642033922058559488");
dump($result);
} }
// 退款 // 退款

View File

@ -1269,7 +1269,7 @@ class OrderServicePackageService extends BaseService
$params = array(); $params = array();
$params['package_id'] = $package_id; $params['package_id'] = $package_id;
$params['product_id'] = $product_id; $params['product_id'] = $product_id;
$health_package_product = HealthPackage::getOne($params); $health_package_product = HealthPackageProduct::getOne($params);
if (empty($health_package_product)){ if (empty($health_package_product)){
return $total_quantity; return $total_quantity;
} }