This commit is contained in:
2023-03-20 13:14:50 +08:00
parent bda3127479
commit 4a8bdef7c8
4 changed files with 38 additions and 2 deletions
+10
View File
@@ -110,4 +110,14 @@ class UserShipAddress extends Model
{
return self::where($params)->update($data);
}
/**
* 删除
* @param array $params
* @return int|mixed
*/
public static function deleteUserShipAddress(array $params): mixed
{
return self::where($params)->delete();
}
}