diff --git a/app/common/model/user/UserAddress.php b/app/common/model/user/UserAddress.php index db3119db..569a91e8 100644 --- a/app/common/model/user/UserAddress.php +++ b/app/common/model/user/UserAddress.php @@ -15,7 +15,7 @@ use think\model\concern\SoftDelete; class UserAddress extends BaseModel { use SoftDelete; - protected $pk = 'address_id'; + protected $pk = 'id'; protected $deleteTime = 'delete_time';