|
|
|
|
@ -12,7 +12,7 @@ class Index extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
public function index($unionid = null,$type = null){
|
|
|
|
|
if(get_cookie('dingname') == '' && get_cookie('dingunionid') == ''){
|
|
|
|
|
redirect('http://www.mycht.cn/webht.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
}else{
|
|
|
|
|
if($unionid != null && $type != null){
|
|
|
|
|
$data['type'] = $type;
|
|
|
|
|
@ -67,7 +67,7 @@ class Index extends CI_Controller {
|
|
|
|
|
//value邮件页面
|
|
|
|
|
public function mail_index(){
|
|
|
|
|
if(get_cookie('dingname') == '' && get_cookie('dingunionid') == ''){
|
|
|
|
|
redirect('http://www.mycht.cn/webht.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
}
|
|
|
|
|
$this->load->view('mail');
|
|
|
|
|
}
|
|
|
|
|
@ -389,7 +389,7 @@ class Index extends CI_Controller {
|
|
|
|
|
//点赞排行榜
|
|
|
|
|
public function rank_person() {
|
|
|
|
|
if(get_cookie('dingname') == '' && get_cookie('dingunionid') == ''){
|
|
|
|
|
redirect('http://www.mycht.cn/webht.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
|
|
|
|
|
}else{
|
|
|
|
|
$data = array();
|
|
|
|
|
$user_info = $this->session->userdata('dingding_user_info');
|
|
|
|
|
|