注释和规范化调整及完善

注释和规范化调整及完善,以及部分代码优化
This commit is contained in:
yicheng
2015-12-06 01:56:10 +08:00
parent 491e33af8f
commit 47335634e9
37 changed files with 385 additions and 187 deletions

View File

@@ -15,10 +15,14 @@ class Crypt
{
/**
* 加密字符串
* @access public
* @param string $str 字符串
* @access public
*
* @param $data
* @param string $key 加密key
* @param int $expire
*
* @return string
* @internal param string $str 字符串
*/
public static function encrypt($data, $key, $expire = 0)
{
@@ -45,10 +49,13 @@ class Crypt
/**
* 解密字符串
* @access public
* @param string $str 字符串
* @access public
*
* @param $data
* @param string $key 加密key
*
* @return string
* @internal param string $str 字符串
*/
public static function decrypt($data, $key)
{