<?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 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 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 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('weixinmao_zp_in
没有合适的资源?快使用搜索试试~ 我知道了~
招聘求职小程序V4.1.87源码 类似58同城、前程无忧、智联招聘等招聘类小程序模块
共632个文件
js:134个
wxss:108个
wxml:107个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 107 浏览量
2022-07-02
22:25:15
上传
评论
收藏 1.42MB ZIP 举报
温馨提示
简介: 测试环境:系统环境:CentOS Linux 7.6.1810 (Core) 运行环境:宝塔 Linux v7.0.3(专业版) 网站环境:Nginx 1.15.10 + MySQL 5.6.46 + PHP-7.1 / PHP-5.6 常见插件:ionCube ;Fileinfo ; redis ; Swoole ; sg11 求职招聘小程序是一款类似58同城、前程无忧、智联招聘等招聘类小程序模块。 支持功能 : 1、职位版块 2、人才版块 3、招聘会(支持企业在线报名参加招聘会) 4、职场资讯 5、企业登录(在手机端可操作企业信息编辑、发布职位、查收简历、通知面试) 6、会员中心(在手机端 投送简历、收藏职位、填写简历、面试通知、刷新简历等功能) 7、查看简历收费 8、消息通知 9、企业购买查看简历次数(支持企业初次注册送企业查看次数功能) 重新更新功能通知: 1、三级分销上线啦,申请经纪人帮平台招人、企业入驻即可获取佣金! 2、企业推广职位二维码上线啦,企业分享职位用户投简历可获取查看职位次数! 3、颜值招聘功能上线啦,为企业提供有形象
资源推荐
资源详情
资源评论
收起资源包目录
招聘求职小程序V4.1.87源码 类似58同城、前程无忧、智联招聘等招聘类小程序模块 (632个子文件)
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
company_basic.html 11KB
goods_option.html 11KB
article.html 11KB
area.html 10KB
dispatch.html 10KB
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
jobrecord.html 4KB
moneyrecord.html 4KB
message.html 4KB
case_basic.html 4KB
house_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
des.html 220B
goods_des.html 220B
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 20KB
index.js 19KB
index.js 19KB
util.js 17KB
index.js 17KB
util2.js 17KB
index.js 16KB
共 632 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
阿国下载
- 粉丝: 621
- 资源: 178
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (176900230)基于ssm的图书馆管理系统
- WPA3 Specification v3.4
- (175875816)使用SSM技术开发的一个图书管理系统,包含数据库文件
- 颜色拾取,ColorCapture
- arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi
- ChristmasStarsStyle.css
- c# WPF Modbus mvvm 应用
- 数据分析-05-确定关键行为+给渠道质量打分(包含代码和数据)
- 基于 Python 控制台的网络漏洞扫描器
- matlab simulink七自由度车辆模型,悬架具有主动控制力的七自由度整车模型 输入为路面不平度,输出车轮位置,车身位移,俯仰角,侧倾角等 参数可调 需要matlab2016a及以上版本
- 机械设计PCB板自动返修设备(包电控bom,程序,工程图) sw16可编辑非常好的设计图纸100%好用.zip
- Java毕业设计基于springboot的企业OA管理系统源码+数据库+说明文档
- 数据分析-06-游戏APP用户行为统计分析(包含代码和数据)
- Trading API eBaySDK-1379-JAVA
- Java毕业设计基于springboot的企业后台管理系统源码+数据库+说明文档
- 数据分析-07-2020年天气差异分析(了解天气差异的元凶 + 包含代码和数据)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功