public function doMobileCeshi1() {
//这个操作被定义用来呈现 功能封面
//http://.com/app/index.php?i=1&j=2&c=entry&do=Ceshi1&m=lr_txwzjhzs
//http://.com/web/index.php?c=site&a=entry&eid=28&version_id=0
//phpinfo();die;
//ini_set('opcache.enable',0);
//ob_end_clean();
global $_W,$_GPC;
if($_W['ispost']){
//echo 'psot';die();
$data['userid'] = $_GPC['idCard'];
$data['iccid'] = $_GPC['iccid'];
print_r($data);
}else{
//display login.html
//echo $_W['ispost'];
//die($_W['ispost']);
//var_dump($this->template('login'));die;
include $this->template('login');
}
¥——w,必须声明为全局变量,否则为局部变量,关闭刷新频率opcache
抓取页面太多23g,css地址不对?ver=,不要递归太多层
html的双引号不妨碍php解析有<?php ?>即可超文本语言与处理器
前期,生成manifest与site。php文件,在开发者后台下载
=======================================================
http://..com/app/index.php?i=1&j=2&c=entry&do=Ceshi1&m=*
这个是domobile*的访问地址
http://..com/web/index.php?c=site&a=entry&eid=27&version_id=0
这个是doweb的访问地址
=======================================================
基础设置 =》管理中心菜单(或者数据库module——binding)
=======================================================
引入模板文件
include $this->template('login');
创造url 的方法
this->createWeburl('couponmanage');
网友评论