|
@@ -88,7 +88,6 @@ class IndexController extends CommentController |
|
@@ -88,7 +88,6 @@ class IndexController extends CommentController |
88
|
// 兼职页面展示
|
88
|
// 兼职页面展示
|
89
|
public function show()
|
89
|
public function show()
|
90
|
{
|
90
|
{
|
91
|
- $refund = '';
|
|
|
92
|
// 判断是否是首次进入
|
91
|
// 判断是否是首次进入
|
93
|
$where_member['id'] = Session::get('uid');
|
92
|
$where_member['id'] = Session::get('uid');
|
94
|
$member = Db::name('Member')->where($where_member)->field('name,tel,card_num')->find();
|
93
|
$member = Db::name('Member')->where($where_member)->field('name,tel,card_num')->find();
|
|
@@ -107,9 +106,6 @@ class IndexController extends CommentController |
|
@@ -107,9 +106,6 @@ class IndexController extends CommentController |
107
|
}else{
|
106
|
}else{
|
108
|
if($is_resume['status'] == 4){
|
107
|
if($is_resume['status'] == 4){
|
109
|
$final['is_resume'] = 0;
|
108
|
$final['is_resume'] = 0;
|
110
|
- $where_refund['elseId'] = $is_resume['id'];
|
|
|
111
|
- $where_refund['type'] = 2;
|
|
|
112
|
- $refund = Db::name('Refund')->where($where_refund)->value('content');
|
|
|
113
|
}else{
|
109
|
}else{
|
114
|
$final['is_resume'] = 3;
|
110
|
$final['is_resume'] = 3;
|
115
|
}
|
111
|
}
|
|
@@ -117,7 +113,6 @@ class IndexController extends CommentController |
|
@@ -117,7 +113,6 @@ class IndexController extends CommentController |
117
|
}else{
|
113
|
}else{
|
118
|
$final['is_resume'] = 0;
|
114
|
$final['is_resume'] = 0;
|
119
|
}
|
115
|
}
|
120
|
- $final['refund'] = $refund;
|
|
|
121
|
// 轮播图
|
116
|
// 轮播图
|
122
|
$where_banner['status'] = array('neq',9);
|
117
|
$where_banner['status'] = array('neq',9);
|
123
|
$where_banner['type'] = 2;
|
118
|
$where_banner['type'] = 2;
|
|
@@ -141,9 +136,6 @@ class IndexController extends CommentController |
|
@@ -141,9 +136,6 @@ class IndexController extends CommentController |
141
|
$where_cof['status'] = array('neq',9);
|
136
|
$where_cof['status'] = array('neq',9);
|
142
|
$tel = Db::name('Config')->where($where_cof)->value('tel');
|
137
|
$tel = Db::name('Config')->where($where_cof)->value('tel');
|
143
|
$final['tel'] = $tel;
|
138
|
$final['tel'] = $tel;
|
144
|
- echo "<pre/>";
|
|
|
145
|
- print_r($refund);
|
|
|
146
|
- die;
|
|
|
147
|
$this->assign('final',$final);
|
139
|
$this->assign('final',$final);
|
148
|
return $this->fetch('postjob');
|
140
|
return $this->fetch('postjob');
|
149
|
}
|
141
|
}
|