技术支持:KUOQPS@163.com
-

常用方法

更新时间:2020-03-19 12:24:28 | 简介:常用方法总汇

--------------------------------------------------------------------------------------------

function ajaxShow($code,$message,$info)
function ajaxReturn($status = 1,$message = NULL,$data = array())
function arrReturn($status = 1,$message = 'OK',$data = array())
function api($useApi,$useNamespace = true)
function config($name,$value = NULL)

使用curl【发送/请求】资源

--curl--请求连接

--type--请求方式【get/post】

--data--请求需携带的参数

--callback--相应类型【json/string/xml】

function curl($curl = '', $type = false, $data = array(), $callback = '')

--------------------------------------------------------------------------------------------

function setconfig($name,$value)
function getconfig($name)
function debug_start()
function debug_show()
function debug_end($isDie = false)
function dump($code)
function exeed(&$code)
function extend($path)
function ftp()
function jsonReturn($status = 1,$message = 'OK',$data = array())
function cache($cacheName,$cacheValue = NULL,$cacheLife = '0',$cachePath = '',$isCommon = false)
function check_wap()
function checkbaseadmin()
function html($isBase = false)
function I($param,$default = NULL,$delFunc = NULL)
function ipfClient()
kong($conts)
function M($dateTable = false)
function model($modelname,$modeltype = 'Model')
function notes($type = '100000')
function jsonpReturn($status,$message,$data = array())
function priceEncode($string)
function priceDecode($intval)
function session($sessName,$sessValue = NULL)
function getSession($sessName = '')
function setSession($sessName,$sessValue = NULL)
function delSession($sessName)
function submitcode()
function submit_encode()
function submit_decode()
function T($link,$param = array())
function template($link,$params = array())
function thumb($url,$w,$h,$hasimg = false)