1 Star 0 Fork 0

影子/fx_activity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
site.php 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
mink7 提交于 2020-09-27 12:06 +08:00 . 更换微擎后台项目名
<?php
/**
* 活动报名模块微站定义
* @author 奔跑的蜗牛
* @url http://bbs.we7.cc/
*/
error_reporting(E_ERROR | E_PARSE);//规避非致命错误提示,如未定义的变量
defined('IN_IA') or exit('Access Denied');
define("MODULE_NAME", "aide_activity");
require IA_ROOT . '/addons/' . MODULE_NAME . '/core/common/defines.php';
require aide_CORE . '/class/loader.class.php';
$autoload = aide_CORE . '/class/autoload.php';
if(file_exists($autoload)) require $autoload;
aide_load()->func('global');
aide_load()->model('plugin');
load()->func('tpl');
class aide_activityModuleSite extends WeModuleSite {
function __call($name, $arguments)
{
global $_W,$_GPC;
$_W['_config'] = $this->module['config'];
$_W['plugin'] = plugin_setting();
$isWeb = stripos($name, 'doWeb') === 0;
$isMobile = stripos($name, 'doMobile') === 0;
if($isWeb || $isMobile) {
if($isWeb) {
$dir = aide_WEB;
$controller = strtolower(substr($name, 5));
}
if($isMobile) {
$dir = aide_APP;
$controller = strtolower(substr($name, 8));
}
$file = $dir . '/index.php';
if(file_exists($file)) {
require $file;
exit;
}
}
}
/*结果返回*/
public function payResult($params) {
global $_W;
$_W['page']['title'] = '支付结果';
$_W['uniacid'] = $_W['acid'] = $params['uniacid'];
load()->model('module');
$this->module = module_fetch(MODULE_NAME);
$_W['_config'] = $this->module['config'];
payResult::payNotify($params);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhuanggitee/fx_activity.git
git@gitee.com:zhuanggitee/fx_activity.git
zhuanggitee
fx_activity
fx_activity
master

搜索帮助