\app\api\servicePayment

Summary

Methods
Properties
Constants
orderPayment()
wechat()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

orderPayment()

orderPayment(  $user,   $order,   $payType) : array

构建订单支付参数

Parameters

$user
$order
$payType

Throws

\app\common\exception\BaseException
\think\exception\DbException

Returns

array

wechat()

wechat(\app\api\model\User  $user,   $orderId,   $orderNo,   $payPrice, integer  $orderType = \app\common\enum\OrderType::MASTER) : array

构建微信支付

Parameters

\app\api\model\User $user
$orderId
$orderNo
$payPrice
integer $orderType

Throws

\app\common\exception\BaseException
\think\exception\DbException

Returns

array