云账号SDK更换

This commit is contained in:
2025-09-30 14:06:41 +08:00
parent 4faaea51b8
commit b3f5a5d62d
59 changed files with 8726 additions and 148 deletions

View File

@@ -32,6 +32,8 @@ use Yzh\Model\Payment\QueryBatchOrderRequest;
use Yzh\Model\Payment\QueryBatchOrderResponse;
use Yzh\Model\Payment\CheckUserAmountRequest;
use Yzh\Model\Payment\CheckUserAmountResponse;
use Yzh\Model\Payment\GetOrderLxlwRequest;
use Yzh\Model\Payment\GetOrderLxlwResponse;
/**
* 实时支付
@@ -236,4 +238,18 @@ class PaymentClient extends BaseClient
}
return $this->send('POST', '/api/payment/v1/risk-check/amount', $request, "Yzh\\Model\\Payment\\CheckUserAmountResponse", $option);
}
/**
* 查询劳务模式单笔订单信息
* @param GetOrderLxlwRequest $request
* @param null $option
* @return GetOrderLxlwResponse
*/
public function getOrderLxlw($request, $option = null)
{
if (!$request instanceof GetOrderLxlwRequest) {
throw new ConfigException("Payment->getOrderLxlw request 必须是 Yzh\\Model\\Payment\\GetOrderLxlwRequest 实例", ExceptionCode::CONFIG_ERROR_WRONG_PARAM);
}
return $this->send('GET', '/api/payment/v1/query-order', $request, "Yzh\\Model\\Payment\\GetOrderLxlwResponse", $option);
}
}