orderPayment()
orderPayment( $user, $order, $payType) : array
构建订单支付参数
Parameters
$user | ||
$order | ||
$payType |
Throws
- \app\common\exception\BaseException
- \think\exception\DbException
wechat(\app\api\model\User $user, $orderId, $orderNo, $payPrice, integer $orderType = \app\common\enum\OrderType::MASTER) : array
构建微信支付
\app\api\model\User | $user | |
$orderId | ||
$orderNo | ||
$payPrice | ||
integer | $orderType |