正在显示
2 个修改的文件
包含
25 行增加
和
1 行删除
| @@ -37,7 +37,7 @@ class UserLoginLogic | @@ -37,7 +37,7 @@ class UserLoginLogic | ||
| 37 | */ | 37 | */ |
| 38 | public function login(){ | 38 | public function login(){ |
| 39 | //先验证手机号是否在项目中存在 | 39 | //先验证手机号是否在项目中存在 |
| 40 | - $info = $this->model->list(['mobile'=>$this->param['mobile'],'status'=>$this->model::STATUS_ZERO],['id','is_password']); | 40 | + $info = $this->model->list(['mobile'=>$this->param['mobile'],'status'=>$this->model::STATUS_ZERO],['id','is_password','project_id']); |
| 41 | if($info === false){ | 41 | if($info === false){ |
| 42 | $this->fail('当前用户不存在或者被禁用',Code::USER_REGISTER_ERROE); | 42 | $this->fail('当前用户不存在或者被禁用',Code::USER_REGISTER_ERROE); |
| 43 | } | 43 | } |
app/Models/Ai/AiVideo.php
0 → 100644
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * @remark : | ||
| 4 | + * @name :AiVideo.php | ||
| 5 | + * @author :lyh | ||
| 6 | + * @method :post | ||
| 7 | + * @time :2025/3/5 14:03 | ||
| 8 | + */ | ||
| 9 | + | ||
| 10 | +namespace App\Models\Ai; | ||
| 11 | + | ||
| 12 | +use App\Models\Base; | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @remark :ai视频 | ||
| 16 | + * @name :AiVideo | ||
| 17 | + * @author :lyh | ||
| 18 | + * @method :post | ||
| 19 | + * @time :2025/3/5 14:04 | ||
| 20 | + */ | ||
| 21 | +class AiVideo extends Base | ||
| 22 | +{ | ||
| 23 | + protected $table = 'gl_ai_video'; | ||
| 24 | +} |
-
请 注册 或 登录 后发表评论