...
|
...
|
@@ -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);
|
|
|
}
|
...
|
...
|
|