将军之歌 发表于 2016-7-2 10:17:12

求助:pigcms 微招聘添加信息失败

case '微招聘':
                                $pro=M('zhaopin_reply')->where(array('token'=>$this->token))->find();
                                if($pro){
                                        return array(
                                                array(
                                                        array(
                                                                $pro['title'],
                                                                strip_tags(htmlspecialchars_decode($pro['info'])), $pro['tp'],
                                                                $this->siteUrl . U('Wap/Zhaopin/index',array(
                                                                        'token' => $this->token,
                                                                        'wecha_id' => $this->data['FromUserName'],
                                                                        'sgssz' => 'mp.weixin.qq.com'
                                                                ))
                                                        ),
                                                        array(
                                                                '【找简历】找简历,看这里',
                                                                strip_tags(htmlspecialchars_decode($pro['info'])),
                                                                $this->siteUrl .'/tpl/Wap/default/common/zhaopin/jianli.png',
                                                                $this->siteUrl . U('Wap/Zhaopin/jlindex',array(
                                                                        'token' => $this->token,
                                                                        'wecha_id' => $this->data['FromUserName'],
                                                                        'sgssz' => 'mp.weixin.qq.com'
                                                                ))
                                                        ),
                                                        array(
                                                                '【企业版】我要发布招聘',
                                                                strip_tags(htmlspecialchars_decode($pro['info'])),
                                                                $this->siteUrl .'/tpl/Wap/default/common/zhaopin/qiye.png',
                                                                $this->siteUrl . U('Wap/Zhaopin/qiye',array(
                                                                        'token' => $this->token,
                                                                        'wecha_id' => $this->data['FromUserName'],
                                                                        'sgssz' => 'mp.weixin.qq.com'
                                                                ))
                                                        ),
                                                        array(
                                                                '【个人版】我要发布简历',
                                                                strip_tags(htmlspecialchars_decode($pro['info'])),
                                                                $this->siteUrl .'/tpl/Wap/default/common/zhaopin/geren.png',
                                                                $this->siteUrl . U('Wap/Zhaopin/geren',array(
                                                                        'token' => $this->token,
                                                                        'wecha_id' => $this->data['FromUserName'],
                                                                        'sgssz' => 'mp.weixin.qq.com'
                                                                ))   
                                                        )
                                                ),
                                                'news'
                                        );
                        }else{
                                return array(
                                        '该公众号暂未配置微招聘信息',
                                        'text'
                                );       
                        }
                }

页: [1]
查看完整版本: 求助:pigcms 微招聘添加信息失败