@@ -653,12 +653,13 @@ class Pay extends Api
// 计算三年后的时间戳
$threeYearsLater = strtotime('+3 years', $now);
-
+ $vname = Db::name('videolist')->where('id', input('vid'))->value('name');
$total_price = $price * $num;
$up = [
'type' => 1,
'uid' => input('uid'),
'vid' => input('vid'),
+ 'vname' => $vname,
'num' => input('num'),
'price' => $price,
'total_price' => $total_price,
@@ -10,7 +10,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// edit_url: 'platform/videoshare/edit',
del_url: 'platform/videoshare/del',
// multi_url: 'platform/videoshare/multi',
- table: 'video_platform_videoshare',
+ table: 'video_share',
}
});