think.php
消息模板
Table of Contents
Functions
- get_template() : mixed
- get_api_data() : mixed
- 获取接口请求数据,如果存在将不发起接口请求
- api_data_insert() : mixed
- 记录接口请求数据
- cookie() : mixed
- cookie_delete() : mixed
Functions
get_template()
get_template(mixed $name[, mixed $replace_arr = [] ]) : mixed
Parameters
- $name : mixed
- $replace_arr : mixed = []
get_api_data()
获取接口请求数据,如果存在将不发起接口请求
get_api_data(mixed $title, mixed $name) : mixed
Parameters
- $title : mixed
- $name : mixed
api_data_insert()
记录接口请求数据
api_data_insert([mixed $data = [] ]) : mixed
Parameters
- $data : mixed = []
cookie()
cookie(mixed $name[, mixed $value = '' ][, mixed $expire = 0 ]) : mixed
Parameters
- $name : mixed
- $value : mixed = ''
- $expire : mixed = 0
cookie_delete()
cookie_delete(mixed $name) : mixed
Parameters
- $name : mixed