|
|
|
@ -22,9 +22,6 @@ class Index extends CI_Controller {
|
|
|
|
|
if(get_cookie('dingunionid') == ''){
|
|
|
|
|
redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
}else{
|
|
|
|
|
if($this->session->userdata('dingdinguserinfo') === false){
|
|
|
|
|
redirect('http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
}
|
|
|
|
|
if($unionid != null && $type != null){
|
|
|
|
|
$data['type'] = $type;
|
|
|
|
|
$data['user'] = get_cookie('dingname');
|
|
|
|
|