* [ ] 路由別名
```
SetAlias($NewName, $OldName = null, $Type = '');
```
NewName(string|array):訪問路由別名
OldName (string|null):指向路由名(類和方法名)
Type (string|null):支持訪問模式(多個半角逗號分開)`為空默認配置中的路由方式`
*****
```
// 當通過 index/qq 就會訪問到 index/main,只支持 GET 和 POST 訪問
$Obj->SetAlias('index/qq', 'index/main', 'GET,POST');
// array 寫法,一次性定義多個路由別名
// ['訪問路由別名' => ['指向路由名', 訪問模式], '訪問路由別名' => ['指向路由名', 訪問模式]]
$Obj->SetAlias( [
// 只允許 post 請求
'main' => ['index/main', 'POST'],
// 允許 get 、post 請求,本來直接訪問 a/b/c 是只能 post 請求,定義這個,aa就可以直接 get 請求到
'aa' => ['index/aa', 'GET,POST'],
] );
```
- 開始使用
- 配置文件
- 路由模式
- AutoLoad類
- 啟動文件
- __construct
- SetRouting
- SetAlias
- SetStop
- SetError
- Access
- SetWorker
- SetClassFile
- SetClassDir
- Run
- OpenLoad
- LinuxStartAll
- Session類
- 使用說明
- set
- get
- delete
- pull
- has
- id
- Cookie類
- 使用說明
- set
- get
- delete
- pull
- has
- TempLets類
- 模板語法
- 模板標簽
- html
- show
- assign
- obtain
- Request類
- get
- post
- host
- referer
- getip
- localip
- header
- body
- file
- scheme
- protocolversion
- uri
- path
- querystring
- method
- Response
- SendFile
- FileStream
- SendData
- SetStatus
- SetHead
- SetMime
- WebSend
- redirect
- dumpJson
- dump
- come
- ps
- Frame類
- GetWeb
- ViewFile
- RoutingData
- SetClassFile
- SetClassDir
- GetMime
- FileMime
- LoadDir
- StartDir
- IsJson
- ArrJson
- JsonFormat
- ObStart
- GetConfig
- ConfigDir
- TempDir
- GetRunData
- GetStatic
- IsDebug
- SetDebug
- GetDebugInfo
- GlobalVariables類
- 使用說明
- set
- get
- delete
- pull
- has
- id
- Mysql類
- 新版本
- 第三方
- Thinkorm
- Medoo
- 舊版本
- Mysql 配置格式
- 項目中操作數據庫
- 項目場景
- 項目數據庫配置
- 項目數據庫中間類
- 項目中操作數據表
- 連貫操作
- where
- table
- data
- order
- field
- limit
- page
- group
- having
- join
- tabname
- union
- sql
- link
- link_base
- lock
- CURD 操作
- 寫入數據
- 數據刪除
- 數據查詢
- 數據更新
- 數據統計操作
- count
- sum
- max
- min
- avg
- 操作DEMO
- CurdTrait.php
- 項目Model層操作表.md
- Curl類
- Method類
- SslAes類
- layui_zqadmin