ADD:添加后台文章、通知等管理端接口;
FIX:修正若干已知错误;
This commit is contained in:
@@ -119,8 +119,8 @@ class FansController extends Common
|
||||
if (!$res) {
|
||||
$this->result('验证码校验失败');
|
||||
}
|
||||
if (($this->timetamp - $res->create_at) > 300) {
|
||||
// 超时5分钟
|
||||
if (($this->timestamp - $res->create_at) > 300) {
|
||||
//超时5分钟
|
||||
$this->result('验证码已失效,请重新获取');
|
||||
}
|
||||
|
||||
@@ -283,8 +283,8 @@ class FansController extends Common
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加一个新用户
|
||||
* @param $data 用户数据
|
||||
* 添加一个新用户 用户数据
|
||||
* @param $data
|
||||
* @return void
|
||||
*/
|
||||
private function fansAdd($data, $userModel)
|
||||
@@ -301,9 +301,9 @@ class FansController extends Common
|
||||
return $userModel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $user 用户实例
|
||||
* @param $hasExt 有否扩展
|
||||
/** 用户实例、有否扩展
|
||||
* @param $user
|
||||
* @param $hasExt
|
||||
* @return void
|
||||
*/
|
||||
private function fansLogin($user, $hasExt = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user