feat : catering
This commit is contained in:
@@ -69,9 +69,9 @@ class AdminUser extends Model
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @return \Hyperf\Database\Model\Model|Builder|null
|
||||
* @return \Hyperf\Database\Model\Model|null
|
||||
*/
|
||||
public function getAdminInfoById(int $id): \Hyperf\Database\Model\Model|Builder|null
|
||||
public function getAdminInfoById(int $id): \Hyperf\Database\Model\Model|null
|
||||
{
|
||||
return $this->where('id', $id)->where('is_del',UserCode::IS_NO_DEL)->first();
|
||||
}
|
||||
|
||||
@@ -9,7 +9,8 @@ use Hyperf\DbConnection\Model\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $driver_id
|
||||
* @property int $driver_id
|
||||
* @property string $driver_name
|
||||
* @property int $driver_num
|
||||
* @property int $sequence
|
||||
* @property string $create_time
|
||||
|
||||
Reference in New Issue
Block a user