作者 郭鑫
1 个管道 的构建 通过 耗费 1 秒

登录

... ... @@ -22,15 +22,15 @@ class CommentController extends HomeBaseController
public function _initialize()
{
parent::_initialize(); // TODO: Change the autogenerated stub
$wx = new WxloginController();
$where_member['id'] = Session::get('uid');
$member = Db::name('Member')->where($where_member)->find();
if($member['status'] == 8){
$this->apiResponse('0','您已被拉黑');
}else if(empty($member['name'])){
$this->apiResponse('0','请先实名认证',url('Index/index'));
}
Session::set('uid','3');
// $wx = new WxloginController();
// $where_member['id'] = Session::get('uid');
// $member = Db::name('Member')->where($where_member)->find();
// if($member['status'] == 8){
// $this->apiResponse('0','您已被拉黑');
// }else if(empty($member['name'])){
// $this->apiResponse('0','请先实名认证',url('Index/index'));
// }
}
... ...
... ... @@ -74,6 +74,8 @@ function def() {
" <p class=\"itembody_name\">"+val.title+"</p>\n" +
" <p class=\"itembody_price\">¥"+val.money+"/天</p>\n" +
" <p class=\"itembody_date\">工作时间:"+val.start_time+"-"+val.start_time+"</p>\n" +
" <p class=\"itembody_date\">雇佣人员:王晓明</p>\n" +
" <p class=\"itembody_date\">联系电话:12345678901</p>"
" </div>\n" +
" <div class=\"footbtn\">\n";
// 2待审核,3审核通过,待付款,4审核未通过,5已取消,6待完成,7待评价,8已评价
... ...