mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-22 16:51:07 +00:00
优化代码结构,美化微信通知消息,删除多余的运行提示信息等
This commit is contained in:
@ -1,11 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief 文件处理
|
||||
* @version 0.6
|
||||
*/
|
||||
|
||||
namespace IYUU\Library;
|
||||
|
||||
/**
|
||||
* @class IFile
|
||||
* @brief IFile 文件处理类
|
||||
@ -13,7 +7,6 @@ namespace IYUU\Library;
|
||||
class IFile
|
||||
{
|
||||
private $resource = null; //文件资源句柄
|
||||
|
||||
/**
|
||||
* @brief 构造函数,打开资源流,并独占锁定
|
||||
* @param String $fileName 文件路径名
|
||||
|
@ -1,11 +1,9 @@
|
||||
<?php
|
||||
namespace IYUU\Library;
|
||||
use Curl\Curl;
|
||||
/**
|
||||
* IYUU用户注册、认证
|
||||
*/
|
||||
namespace IYUU\Library;
|
||||
|
||||
use Curl\Curl;
|
||||
|
||||
class Oauth
|
||||
{
|
||||
// 合作的站点
|
||||
@ -86,7 +84,8 @@ class Oauth
|
||||
return $ret;
|
||||
}
|
||||
/**
|
||||
* 写鉴权成功配置
|
||||
* 写鉴权成功缓存
|
||||
* @desc 作用:减少对服务器请求,跳过鉴权提示信息;
|
||||
*/
|
||||
private static function setSiteLoginCache($key = '', $array = [])
|
||||
{
|
||||
|
@ -1,54 +1,46 @@
|
||||
<?php
|
||||
namespace IYUU\Library;
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: 大卫
|
||||
* Date: 2020-1-19
|
||||
* Time: 17:44
|
||||
*/
|
||||
namespace IYUU\Library;
|
||||
|
||||
class Table
|
||||
{
|
||||
const ALIGN_LEFT = 1;
|
||||
const ALIGN_RIGHT = 0;
|
||||
const ALIGN_CENTER = 2;
|
||||
|
||||
/**
|
||||
* 头信息数据
|
||||
* @var array
|
||||
*/
|
||||
protected $header = [];
|
||||
|
||||
/**
|
||||
* 头部对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER
|
||||
* @var int
|
||||
*/
|
||||
protected $headerAlign = 1;
|
||||
|
||||
/**
|
||||
* 表格数据(二维数组)
|
||||
* @var array
|
||||
*/
|
||||
protected $rows = [];
|
||||
|
||||
/**
|
||||
* 单元格对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER
|
||||
* @var int
|
||||
*/
|
||||
protected $cellAlign = 1;
|
||||
|
||||
/**
|
||||
* 单元格宽度信息
|
||||
* @var array
|
||||
*/
|
||||
protected $colWidth = [];
|
||||
|
||||
/**
|
||||
* 表格输出样式
|
||||
* @var string
|
||||
*/
|
||||
protected $style = 'default';
|
||||
|
||||
/**
|
||||
* 表格样式定义
|
||||
* @var array
|
||||
|
Reference in New Issue
Block a user