|
@@ -484,6 +484,7 @@ class CustomerDepositController extends Controller
|
484
|
484
|
$customerVip->create_time = date('Y-m-d H:i:s',time());
|
485
|
485
|
$customerVip->vip_end_time = date('Y-m-d H:i:s',strtotime('+1 year'));
|
486
|
486
|
$customerVip->birthday = date('Y',time()).'-'.$request->input('birthday');
|
|
487
|
+ $customerVip->price = $request->input('price');
|
487
|
488
|
$customerVip->is_del = 0;
|
488
|
489
|
|
489
|
490
|
if($customerVip->save()) {
|
|
@@ -537,6 +538,7 @@ class CustomerDepositController extends Controller
|
537
|
538
|
$customerVip->name = $request->input('name');
|
538
|
539
|
$customerVip->birthday = date('Y',time()).'-'.$request->input('birthday');
|
539
|
540
|
$customerVip->admin_id = $request->input('admin_id');
|
|
541
|
+ $customerVip->price = $request->input('price');
|
540
|
542
|
if($customerVip->save()){
|
541
|
543
|
return redirect('/admin/customer/vipList')->with('info', '编辑成功');
|
542
|
544
|
} else {
|