作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

测试金额

... ... @@ -465,6 +465,7 @@ class Course extends Api
$model->add($this->auth->getUser(), $order, $param['pay_type']);
//回调链接
$notifyurl = $this->request->root(true) . '/mobile/notify/notifyCourse/paytype/' . $param['pay_type'];
$model['pay_price'] = 0.01; //测试金额
$payment = Service::submitOrder($model['pay_price'], $model['order_sn'], $param['pay_type'], '课程', $notifyurl, null, 'app');
$this->success('成功',$payment);
}
... ...