社群空间站9.9付费入群系统易支付版含搭建教程


一、详细介绍

1.创建站点

2.搭建环境 php7.2

3.上传源码包

数据库批量修改sq9.dongge1.icu s10.dongge1.icu 改为你的域名

4.上传数据库 修改数据库文件/data/config/

5.访问域名

6.账户密码 admin 123456

7.易支付修改地址是在/data/tpl/app/default/yy_shequn2/lib/epay.config.php

易支付地址必须是https开头 社群空间站网站也是要HTTPS开头

二、效果展示

1.部分代码

代码如下(示例):

define('IN_API', true);
require_once './framework/bootstrap.inc.php';
load()->model('reply');
load()->model('attachment');
load()->model('visit');
load()->app('common');
load()->classs('wesession');
$hash = $_GPC['hash'];
if (!empty($hash)) {
	$id = pdo_fetchcolumn("SELECT acid FROM " . tablename('account') . " WHERE hash = :hash", array(':hash' => $hash));
}
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 = table('account_wxapp')->where('key', $appid)->getcolumn('acid');
		}
	}
}

2.效果图展示

请添加图片描述


三、学习资料下载

蓝奏云:https://qumaw.lanzoul.com/iGKLv29cd2va

  • 8
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值