|
...
|
...
|
@@ -156,6 +156,9 @@ class UserLoginLogic |
|
|
|
*/
|
|
|
|
public function autoAssembleParam($info){
|
|
|
|
$project = $this->getProjectInfo($info['project_id']);
|
|
|
|
if($project['site_status'] != 0){//关闭站点
|
|
|
|
$this->fail('当前网站已过期,请联系管理员及时续费。');
|
|
|
|
}
|
|
|
|
$info['title'] = $project['title'] ?? '';
|
|
|
|
$info['company'] = $project['company'] ?? '';
|
|
|
|
$info['from_order_id'] = $project['from_order_id'] ?? '';
|
|
...
|
...
|
@@ -257,7 +260,7 @@ class UserLoginLogic |
|
|
|
$info = $this->model->read(['mobile'=>$mobile,'project_id'=>$project_id],['id','mobile','status','role_id','token','name','wechat','project_id']);
|
|
|
|
//获取项目详情
|
|
|
|
$project = $this->getProjectInfo($project_id);
|
|
|
|
if($project['type'] == Project::TYPE_FIVE){
|
|
|
|
if($project['site_status'] != 0){//关闭站点
|
|
|
|
$this->fail('当前网站已过期,请联系管理员及时续费。');
|
|
|
|
}
|
|
|
|
$info['title'] = $project['title'] ?? '';
|
...
|
...
|
|