全局函數/類
| 函數/類 | 注釋 | 說明 |
| --- | --- | --- |
| $this->request->isMobile() | 1=手機端,0=PC端 | 是否是手機訪問 |
| $this->request->module() | - | 當前模塊名/目錄 |
| $this->request->param() | 數組 | 獲取URL地址中的參數 |
| $this->request->post('') | 數組 | 獲取前臺提交的參數 |
| get\_addon\_config('') | 數組 | 獲取七牛插件配置 |
| GetNow(); | 隨機生成數字編號 | 生成唯一訂單號 |