From 9630e662338fa6422e7b0ebe3abfc7ac1e6602d6 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 23 Aug 2023 10:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E6=8A=A5=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/UserLocation.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Model/UserLocation.php b/app/Model/UserLocation.php index 5717387..2448f5f 100644 --- a/app/Model/UserLocation.php +++ b/app/Model/UserLocation.php @@ -7,6 +7,7 @@ namespace App\Model; use Hyperf\Database\Model\Collection; +use Hyperf\Snowflake\Concern\Snowflake; /** * @property int $user_location_id 主键id @@ -22,6 +23,8 @@ use Hyperf\Database\Model\Collection; */ class UserLocation extends Model { + use Snowflake; + /** * The table associated with the model. */