正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -88,6 +88,7 @@ class IndexController extends CommentController | @@ -88,6 +88,7 @@ class IndexController extends CommentController | ||
88 | // 兼职页面展示 | 88 | // 兼职页面展示 |
89 | public function show() | 89 | public function show() |
90 | { | 90 | { |
91 | + $refund = ''; | ||
91 | // 判断是否是首次进入 | 92 | // 判断是否是首次进入 |
92 | $where_member['id'] = Session::get('uid'); | 93 | $where_member['id'] = Session::get('uid'); |
93 | $member = Db::name('Member')->where($where_member)->field('name,tel,card_num')->find(); | 94 | $member = Db::name('Member')->where($where_member)->field('name,tel,card_num')->find(); |
@@ -109,7 +110,6 @@ class IndexController extends CommentController | @@ -109,7 +110,6 @@ class IndexController extends CommentController | ||
109 | $where_refund['elseId'] = $is_resume['id']; | 110 | $where_refund['elseId'] = $is_resume['id']; |
110 | $where_refund['type'] = 2; | 111 | $where_refund['type'] = 2; |
111 | $refund = Db::name('Refund')->where($where_refund)->value('content'); | 112 | $refund = Db::name('Refund')->where($where_refund)->value('content'); |
112 | - $final['refund'] = $refund; | ||
113 | }else{ | 113 | }else{ |
114 | $final['is_resume'] = 3; | 114 | $final['is_resume'] = 3; |
115 | } | 115 | } |
@@ -117,6 +117,7 @@ class IndexController extends CommentController | @@ -117,6 +117,7 @@ class IndexController extends CommentController | ||
117 | }else{ | 117 | }else{ |
118 | $final['is_resume'] = 0; | 118 | $final['is_resume'] = 0; |
119 | } | 119 | } |
120 | + $final['refund'] = $refund; | ||
120 | // 轮播图 | 121 | // 轮播图 |
121 | $where_banner['status'] = array('neq',9); | 122 | $where_banner['status'] = array('neq',9); |
122 | $where_banner['type'] = 2; | 123 | $where_banner['type'] = 2; |
-
请 注册 或 登录 后发表评论