<?php
namespace Admin\Controller;
use Think\Controller;
class ManagerController extends Controller{
public function verify(){
public function verify(){//二维码方法
模型
namespace Model;
use Think\Model;
class UserModel extends Model{
//批量获取全部错误信息
p
{#$smarty.const.__CONTROLLER__#}/head.html
return array(
//'配置项'=>'配置值'
//配置默认模块
include/arc.archives.class.php文件
if(is_array($preRow))
{
if ( defined('DEDEMOB') )
&
{literal}可以让一个模板区域的字符原样输出。 这经常用于保护页面上的Javascript或css样式表,避免因为Smarty的定界符{语法}而错被解析。
import('Test.UserTest');
$test = new \UserTest();
如:http://www.yourdomin.com/category.php?id=12&page=3 重写成 http://www.yourdomin.com/category/12/3
RewriteRule ^category/([0-9]+)/([0-9]+)$ category.