一、详细介绍
对比上个版本,修复了闯关成功之后奖品无法发放的问题,功能全部都测试了可以正常运营
测试环境:MySQL5.6,PHP5.6
支付对接的易支付,默认对接的官方接口
登录支持浏览器打开和一键登录
支持三级分销和三级代理
商品可设置无库存自动下架,支持设置当用户达到最多次数后,将无法挑战该商品
支持商品累计金额达到多少才能有挑战成功
关卡支持自定义设置口红数量和挑战时间
二、效果展示
1.部分代码
代码如下(示例):
if(!empty($_GPC['appid'])) {
$appid = ltrim($_GPC['appid'], '/');
if ($appid == 'wx570bc396a51b8ff8') {
$_W['account'] = array(
'type' => '3',
'key' => 'wx570bc396a51b8ff8',
'level' => 4,
'token' => 'platformtestaccount'
);
} else {
$id = pdo_fetchcolumn("SELECT acid FROM " . tablename('account_wechats') . " WHERE `key` = :appid", array(':appid' => $appid));
}
}
if(empty($id)) {
$id = intval($_GPC['id']);
}
if (!empty($id)) {
$uniacid = pdo_getcolumn('account', array('acid' => $id), 'uniacid');
$_W['account'] = uni_fetch($uniacid);
}
if(empty($_W['account'])) {
exit('initial error hash or id');
}
if(empty($_W['account']['token'])) {
exit('initial missing token');
}
2.效果图展示




三、学习资料下载
百度云:https://pan.baidu.com/s/1NPrLrvVO95EcunopFQvcxA?pwd=yi44
1839

被折叠的 条评论
为什么被折叠?



