fix(api): 评级列表修改
							parent
							
								
									1cf835c2d7
								
							
						
					
					
						commit
						c5548e7c92
					
				| 
						 | 
				
			
			@ -713,12 +713,13 @@ class User extends Base
 | 
			
		|||
     */
 | 
			
		||||
    public function starList(): Json
 | 
			
		||||
    {
 | 
			
		||||
        $accountId  = $this->request->user['user_id'] ?? 0;
 | 
			
		||||
        $accountId  = input('account_id/d', 0);
 | 
			
		||||
        $accountId = $accountId ?: 0;
 | 
			
		||||
        $worksiteId = input('worksite_id/d', 0);
 | 
			
		||||
        $worksiteId = $worksiteId ?: 0;
 | 
			
		||||
 | 
			
		||||
        if (!$account = Account::findById($accountId)) {
 | 
			
		||||
            return $this->json(6001, '请先登录');
 | 
			
		||||
            return $this->json(4004, '用户不存在');
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        $where = [];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue