qingrong / tool
There is no license information available for the latest version (v7.0) of this package.
工具包
v7.0
2024-04-11 06:19 UTC
Requires
- php: >=7.0
- elasticsearch/elasticsearch: 7.4.0
- guzzlehttp/guzzle: 6.5.8
- khanamiryan/qrcode-detector-decoder: 1.0.4
- lrq/qrcode: ~2.0.0
- phpmailer/phpmailer: 6.4.0
- phpoffice/phpspreadsheet: 1.15.0
- qiniu/php-sdk: 7.3.0
- tekintian/phpqrcode: 1.0
- volcengine/volc-sdk-php: 1.0.82
This package is not auto-updated.
Last update: 2024-12-19 07:51:11 UTC
README
##权限:
#####用户登录 AdminAuth::login($userName,$userPassword,$userProjectId);返回token
#####判断用户权限 AdminAuth::checkUserAuth($path,$token);返回true、false
#####获取当前用户所有权限 AdminAuth::getAuth($token);返回树形结构权限
##基础功能
#####上传文件 UploadTool::uploadFile($file,$filename='');返回文件路径
#####httpGet请求 HttpCurl::getCurl(string $url,array $params=[],array $headers=[]);返回结果
#####httpPost请求 HttpCurl::postCurl($url,$params=[],$headers=[],$asJson=true);返回结果
#####推送mq信息 MqService::pushMessage($message,$queueName);
#####企微报警 QiWeiTool::sendMessageToBaoJing("报警信息");