|
@@ -83,8 +83,7 @@ class Pay extends Core
|
|
|
|
|
|
$index = Dever::input('index');
|
|
$index = Dever::input('index');
|
|
$type = Dever::input('type');
|
|
$type = Dever::input('type');
|
|
- $type_id = Dever::input('type_id');
|
|
|
|
- $info = Dever::db($type)->one($type_id);
|
|
|
|
|
|
+ $info = Dever::db($type)->one($content_id);
|
|
|
|
|
|
if (!$info) {
|
|
if (!$info) {
|
|
Dever::alert('请选择正确的座位');
|
|
Dever::alert('请选择正确的座位');
|
|
@@ -96,7 +95,7 @@ class Pay extends Core
|
|
$refer = str_replace('{code}', $code, $refer);
|
|
$refer = str_replace('{code}', $code, $refer);
|
|
$location = str_replace('{code}', $code, $location);
|
|
$location = str_replace('{code}', $code, $location);
|
|
|
|
|
|
- $pay = Dever::load('user/lib/seat')->action($this->share_uid$this->uid, $this->id, $this->parent_page_id, $this->page_id, $this->times, $this->day, $content_id, $index, $seat, $info['seat_price'], $this->system_source, $refer);
|
|
|
|
|
|
+ $pay = Dever::load('user/lib/seat')->action($this->share_uid, $this->uid, $this->id, $this->parent_page_id, $this->page_id, $this->times, $this->day, $content_id, $index, $seat, $info['seat_price'], $this->system_source, $refer);
|
|
|
|
|
|
$pay['location'] = $location;
|
|
$pay['location'] = $location;
|
|
|
|
|