<?php
/**
* 招聘小程序模块小程序接口定义
*
* @author weixinmao
* @url
*/
defined('IN_IA') or exit('Access Denied');
class Weixinmao_zpModuleWxapp extends WeModuleWxapp
{
public function doPageSavepubmsg()
{
global $_GPC, $_W;
$uid = $_GPC['uid'];
$uploadimagelist_str = $_GPC['uploadimagelist_str'];
$imagelistarray = explode('@', $uploadimagelist_str);
foreach ($imagelistarray as $k => $v) {
if ($v != "") {
$imagelist[] = $v;
}
}
$account_data = array('uniacid' => $_W['uniacid'],
'name' => $_GPC['name'],
'tel' => $_GPC['tel'],
'title' => $_GPC['title'],
'content' => $_GPC['content'],
'status' => 0,
'createtime' => TIMESTAMP,
'uid' => $uid,
'piclist' => serialize($imagelist)
);
pdo_insert('weixinmao_zp_pubmsglist', $account_data);
$data = array('error' => 0, 'msg' => '提交成功,请耐心等待审核');
return $this->result(0, 'success', $data);
}
public function doPageGetbanner()
{
global $_GPC, $_W;
//$siteurl = $this->GetSiteUrl();
$list = pdo_fetchall("SELECT * FROM " . tablename('weixinmao_zp_adv') . "WHERE enabled =1 AND weid=:weid ORDER BY displayorder DESC ", array(":weid" => $_W['uniacid']));
if ($list) {
foreach ($list as $k => $v) {
$list[$k]['thumb'] = tomedia($v['thumb']);
}
}
return $this->result(0, 'success', $list);
}
public function doPageUpdatesecret()
{
global $_GPC, $_W;
$uid = $_GPC['uid'];
$tel = $_GPC['tel'];
$code = $_GPC['code'];
$is_code = pdo_fetch("SELECT id FROM " . tablename('weixinmao_zp_mobile_verify_code') . " WHERE uniacid=:uniacid AND verify_code=:code AND mobile=" . $tel, array(":uniacid" => $_W['uniacid'], ':code' => $code));
if (!$is_code) {
$list = array('msg' => '验证码错误', 'error' => 1);
return $this->result(0, 'success', $list);
}
$companyinfo = pdo_get('weixinmao_zp_company', array('uniacid' => $_W['uniacid'], 'tel' => $tel));
if ($companyinfo) {
$account_data = array('uniacid' => $_W['uniacid'],
'password' => md5($_GPC['password'])
);
pdo_update('weixinmao_zp_companyaccount', $account_data, array('companyid' => $companyinfo['id'], 'uniacid' => $_W['uniacid']));
$data = array('msg' => '修改成功', 'error' => 0);
} else {
$data = array('msg' => '企业信息不存在', 'error' => 1);
}
return $this->result(0, 'success', $data);
}
public function dealMsglist($uid)
{
global $_GPC, $_W;
$uid = $uid;
$msglist = pdo_fetchall("SELECT id,createtime FROM " . tablename('weixinmao_zp_msgidlist') . " WHERE uniacid=:weid AND status = 0 AND uid=" . $uid, array(":weid" => $_W['uniacid']));
$time7 = 60 * 60 * 24 * 7;
foreach ($msglist as $k => $v) {
$currenttime = time() - $v['createtime'];
if ($currenttime >= $time7) {
pdo_delete('weixinmao_zp_msgidlist', array('id' => $v['id']));
}
}
return;
}
public function doPageUploadvideo()
{
global $_GPC, $_W;
load()->func('file');
$log = json_encode($_FILES);
$res = file_upload($_FILES['file'], 'video');
$data = array(
'weid' => $_W['uniacid'],
//'content'=>json_encode($res)
'content' => $log
);
pdo_insert('weixinmao_house_log', $data);
return $this->result(0, 'success', $res);
}
public function doPageUploaddoc()
{
global $_GPC, $_W;
load()->func('file');
$log = json_encode($_FILES);
$res = file_upload($_FILES['file'], 'file');
$data = array(
'weid' => $_W['uniacid'],
'content' => json_encode($res)
// 'content'=>$log
);
pdo_insert('weixinmao_house_log', $data);
return $this->result(0, 'success', $res);
}
public function doPageSaveFormId()
{
global $_GPC, $_W;
$uid = $_GPC['uid'];
if (!$uid || $uid <= 0) {
return $this->result(1, '用户未授权');
}
$msgdata = array(
'uniacid' => $_W['uniacid'],
'uid' => $uid,
'form_id' => $_GPC['form_id'],
'status' => 0,
'createtime' => TIMESTAMP
);
pdo_insert('weixinmao_zp_msgidlist', $msgdata);
$this->dealMsglist($uid);
$list = array('msg' => '提交成功', 'error' => 0, 'msgcount' => $msgcount);
return $this->result(0, 'success', $list);
}
public function doPageGetphone()
{
global $_GPC, $_W;
include "inc/wxBizDataCrypt.php";
$iv = $_GPC['iv'];
$encryptedData = $_GPC['encryptedData'];
$appid = $_W['uniaccount']['key'];//小程序唯一标识 (在微信小程序管理后台获取)
$appsecret = $_W['uniaccount']['secret'];//小程序的 app secret (在微信小程序管理后台获取)
$pc = new WXBizDataCrypt($appid, $_SESSION['session_key']);
$errCode = $pc->decryptData($encryptedData, $iv, $data);
$obj = json_decode($data);
$uid = $_GPC['uid'];
$tel = $obj->phoneNumber;
pdo_update('weixinmao_zp_userinfo', array('tel' => $tel), array('uid' => $uid));
return $this->result(0, 'success', array());
}
public function doPageIntro()
{
global $_GPC, $_W;
//$siteurl = $this->GetSiteUrl();
$list = pdo_fetch("SELECT * FROM " . tablename('weixinmao_zp_intro') . " WHERE uniacid=:uniacid", array(":uniacid" => $_W['uniacid']));
$list['logo'] = tomedia($list['logo']);
$list['description'] = html_entity_decode($list['content']);
$list['content'] = trim(html_entity_decode(strip_tags($list['content'])), chr(0xc2) . chr(0xa0));
$map = $this->Convert_BD09_To_GCJ02($list['lat'], $list['lng']);
$list['lat'] = $map['lat'];
$list['lng'] = $map['lng'];
$list['intro'] = $list;
return $this->result(0, 'success', $list);
}
public function doPageUserInit()
{
global $_GPC, $_W;
//$siteurl = $this->GetSiteUrl();
$list = pdo_fetch("SELECT * FROM " . tablename('weixinmao_zp_intro') . " WHERE uniacid=:uniacid", array(":uniacid" => $_W['uniacid']));
$list['logo'] = tomedia($list['logo']);
$list['description'] = html_entity_decode($list['content']);
$list['content'] = trim(html_entity_decode(strip_tags($list['content'])), chr(0xc2) . chr(0xa0));
$map = $this->Convert_BD09_To_GCJ02($list['lat'], $list['lng']);
$list['lat'] = $map['lat'];
$list['lng'] = $map['lng'];
//$list['intro'] = $list;
if ($list['ischeck'] == 0) {
$title = array('简历编辑', '我的申请', '达人匹配', '分享收益', '推荐简历有奖', '通知面试', '企业邀请', '我的颜值', '我的推荐', '购买VIP套餐', '经纪人中心', '刷新简历');
} else {
$title = array();
}
$data = array('intro' => $list, 'title' => $title);
return $this->result(0, 'success', $data);
}
public function doPagePubmsgInit()
{
global $_GPC, $_W;
$list = pdo_fetch("SELECT * FROM " . tablename('weixinma
没有合适的资源?快使用搜索试试~ 我知道了~
求职招聘微信小程序源码下载v4.1.78 修复首页授权空白问题
共631个文件
js:134个
wxss:106个
json:106个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 13 下载量 100 浏览量
2021-12-29
16:29:54
上传
评论 4
收藏 1.28MB ZIP 举报
温馨提示
1、多城市招聘平台2、职位版块 3、人才版块 4、招聘会(支持企业在线报名参加招聘会) 5、职场资讯6、企业登录(在手机端可操作企业信息编辑、发布职位、查收简历、通知面试) 7、企业VIP套餐购买功能(如月卡、季卡、年卡) 8、会员中心(在手机端 投送简历、收藏职位、填写简历、面试通知、刷新简历等功能) 9、查看简历收费 10、企业接收应聘消息通知 11、企业购买查看简历次数(支持企业初次注册送企业查看次数功能) 12、兼职模块 13、附近工作 14、职位置顶支付 15、分享海报、推荐有奖、红包职位功能 16、平台派遣人员给企业,企业支付返费功能 关于程序 重更新功能通知: 1、三级配送接送啦,申请入驻平台平台招人、企业驻站获取专人! 2、企业推广职位二维码上线啦,企业分享职位用户投简历可获取职位次数! 3、颜值招聘功能上线啦,为企业提供有形象、有才艺、短视频招聘! 4、群发助手功能上线啦,可匹配所有职位发送给小程序者或方式发送给小程序用户! 5、平台派遣人员给企业功能上线,入职后企业按规定时间平台支付返费 6、红包已经正式上线,分享职位海报推荐有效的闪光获得奖励! 关于企业套餐更新重要说明: 1、在后台管理设置企业套餐功能(如年会员、季会员、月会员、普通会员)包括数量设置、级别、天数、发布职位数量、查看形象次数等 2、在后台设置企业套餐时,可以一次设置企业初始化级别,用于企业注册时初始化功能,建议初始化级别设置为0 3、如果是平台普通会员或每企业免费会员,发布职位可以按天收费,后台支付直接职位标签可设置 4、目前已运营用户,数据正常同步,可以在后台企业套餐里选择等级会员同步所有公司及职位及优惠数量
资源推荐
资源详情
资源评论
收起资源包目录
求职招聘微信小程序源码下载v4.1.78 修复首页授权空白问题 (631个子文件)
style.css 10KB
photoswipe.css 3KB
uploadify_t.css 3KB
common.css 3KB
photoswipe-loader.gif 3KB
order.html 25KB
notelist_basic109.html 19KB
lethouse_basic.html 17KB
notelist.html 16KB
nav.html 16KB
joblist_basic.html 16KB
intro.html 16KB
lethouse.html 14KB
company.html 14KB
oldhouse.html 14KB
notevideolist.html 14KB
newhouse_basic.html 13KB
oldhouse_basic.html 12KB
express.html 12KB
baoactive.html 12KB
notelist_basic.html 12KB
active.html 12KB
jobcate.html 11KB
jobpartlist_basic.html 11KB
goods_option.html 11KB
article.html 11KB
area.html 10KB
dispatch.html 10KB
company_basic.html 9KB
jobprice.html 9KB
joblist.html 9KB
agent.html 8KB
newhouse.html 8KB
jobpartlist.html 8KB
companyrole.html 7KB
userinfo.html 7KB
category.html 7KB
goods.html 7KB
city.html 7KB
case.html 7KB
house.html 6KB
groupsending.html 6KB
setactivefield.html 6KB
adv.html 5KB
lookrole.html 5KB
notelist_display.html 5KB
notelist_display109.html 5KB
companyaccount.html 5KB
setting.html 5KB
advmoney.html 5KB
paytoplist.html 5KB
payjoblist.html 5KB
toplist.html 5KB
lethouseprice.html 5KB
oldhouseprice.html 5KB
houseprice.html 5KB
active_basic.html 4KB
post.html 4KB
msgtpl.html 4KB
notice.html 4KB
moneyrecord.html 4KB
message.html 4KB
jobrecord.html 4KB
house_basic.html 4KB
case_basic.html 4KB
sharelist.html 3KB
goods_basic.html 3KB
salelist.html 3KB
articlenotice_basic.html 3KB
list.html 2KB
article_basic.html 2KB
regmoney.html 2KB
rule.html 2KB
goods_param.html 2KB
regsub.html 2KB
option.html 2KB
spec.html 1KB
goods_other.html 1KB
spec_item.html 1KB
common.html 1019B
param.html 562B
goods_des.html 220B
des.html 220B
icon-custom.jpg 13KB
icon.jpg 8KB
photoswipe-1.0.11.min.js 118KB
region_select.js 43KB
showdown.js 36KB
index.js 26KB
jquery.form.js 26KB
underscore.js 25KB
underscore.js 25KB
jquery.gcjs.js 25KB
index.js 20KB
index.js 19KB
index.js 19KB
index.js 19KB
util.js 17KB
index.js 17KB
util2.js 17KB
共 631 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
喵喵源码
- 粉丝: 51
- 资源: 124
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页