|
...
|
...
|
@@ -111,7 +111,7 @@ class LoginLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/8/7 9:09
|
|
|
|
*/
|
|
|
|
public function accessAddress($mobile){
|
|
|
|
public function accessAddress($manage_id){
|
|
|
|
$serviceSettingModel = new Service();
|
|
|
|
$info = $serviceSettingModel->read(['type'=>4]);
|
|
|
|
if($info === false){
|
|
...
|
...
|
@@ -125,6 +125,7 @@ class LoginLogic extends BaseLogic |
|
|
|
//演示账号 用自己的号登录
|
|
|
|
if(!empty($this->param['project_id']) && $this->param['project_id'] == Project::DEMO_PROJECT_ID){
|
|
|
|
unset($this->param['project_id']);
|
|
|
|
$mobile = Manage::where('id', $manage_id)->value('mobile');
|
|
|
|
$user = User::where('mobile', $mobile)->first();
|
|
|
|
if(!$user){
|
|
|
|
$this->fail('未在演示项目注册账号');
|
...
|
...
|
|