\app\api\controller\v1Tools

Summary

Methods
Properties
Constants
fetch()
assign()
checktoken()
uploadpic()
uploadpicmore()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

fetch()

fetch(  $tpl = "") 

Parameters

$tpl

assign()

assign(  $name,   $data) 

Parameters

$name
$data

checktoken()

checktoken(  $token = "") 

Parameters

$token

uploadpic()

uploadpic(\app\Request  $request) : \think\response\Json

上传单个文件,包含图片

Parameters

\app\Request $request

Returns

\think\response\Json

uploadpicmore()

uploadpicmore(\app\Request  $request) : \think\response\Json

多个文件上传

Parameters

\app\Request $request

Returns

\think\response\Json