...
|
...
|
@@ -104,7 +104,8 @@ class Vip extends Api |
|
|
$param = $this->request->param();
|
|
|
$openid = Db::name('user')->where('id', $user_id)->value('openid');
|
|
|
$domain = $this->request->domain();
|
|
|
$price = Db::name('order')->where('order_sn', $param['order_sn'])->value('vip_id');
|
|
|
$price_id = Db::name('order')->where('order_sn', $param['order_sn'])->value('vip_id');
|
|
|
$price = Db::name('vip')->where('id', $price_id)->value('price');
|
|
|
$data = [
|
|
|
'amount' => $price,
|
|
|
'orderid' => $param['order_sn'],
|
...
|
...
|
|