...
|
...
|
@@ -110,12 +110,12 @@ class IndexController extends HomeBaseController |
|
|
->find();
|
|
|
if ($re) {
|
|
|
$dataup['id'] = $re['id'];
|
|
|
session('user.id', $dataup['id']);
|
|
|
// session('user.id', $dataup['id']);
|
|
|
$res = Db::name('user')->update($dataup);
|
|
|
if ($res) {
|
|
|
return json(['code' => '1', 'msg' => '保存成功']);
|
|
|
} else {
|
|
|
return json(['code' => '0', 'msg' => '保存失败']);
|
|
|
return json(['code' => '1', 'msg' => '报名信息更新成功']);
|
|
|
}
|
|
|
} else {
|
|
|
return json(['code' => '0', 'msg' => '保存失败']);
|
...
|
...
|
@@ -160,6 +160,13 @@ class IndexController extends HomeBaseController |
|
|
}
|
|
|
}
|
|
|
|
|
|
//支付成功 ajax
|
|
|
public function pay_success()
|
|
|
{
|
|
|
|
|
|
return $this->fetch();
|
|
|
}
|
|
|
|
|
|
|
|
|
//学员手册
|
|
|
public function student_shouce()
|
...
|
...
|
|