@ -165,7 +165,8 @@ class PromoteModel extends Model{
/**
* 退出登录
*/
public function logout(){
public function logout()
{
session('promote_auth', null);
session('promote_auth_sign', null);
session('game_divide_second_pwd', null);
@ -287,7 +287,8 @@ class IndexController extends HomeController
$Promote = new PromoteApi();
$Promote->logout();
redirect(U('Index/index'));
@ -80,7 +80,8 @@ class PromoteApi extends Api{
$this->model->logout();
}