通用分頁列表數據集獲取方法
調取緩存
參數說明:spa
2.get_addon_class
獲取插件類的類名
function get_addon_class($name) {插件
$class = "Addons\\{$name}\\{$name}Addon"; if (! class_exists ( $class )) { $class = "Plugins\\{$name}\\{$name}Addon"; } return $class;
}3d
3 _get_model_list
獲取模型列表數據code
4 getModel
經過查詢model 根據id 查詢對應的這條model的信息blog
5 get_token
獲取公衆號的原始idtoken
6 get_access_token
回去access_token(自帶緩存功能)ip
7 wp_file_get_contents
設置超時時間爲30s 的file_get_contentsget
8 checkAttr
對字段進行驗證it