From 98d63d51c8488dadd819d540350f578e025e02c1 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期二, 23 九月 2025 14:49:28 +0800
Subject: [PATCH] 更新代码

---
 UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java |   21 +++++++--------------
 1 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java b/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java
index 2bf3187..d141e34 100644
--- a/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java
+++ b/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java
@@ -1,17 +1,16 @@
 //package com.stylefeng.guns;
 //
-//import com.stylefeng.guns.modular.specialTrain.server.IOrderPrivateCarService;
-//import com.stylefeng.guns.modular.system.util.PayMoneyUtil;
-//import com.stylefeng.guns.modular.system.util.ResultUtil;
+//import com.stylefeng.guns.modular.system.util.RedisUtil;
 //import org.junit.Test;
 //import org.junit.runner.RunWith;
 //import org.springframework.beans.factory.annotation.Autowired;
 //import org.springframework.boot.test.context.SpringBootTest;
+//import org.springframework.data.geo.GeoResult;
+//import org.springframework.data.redis.connection.RedisGeoCommands;
 //import org.springframework.test.context.junit4.SpringRunner;
 //
-//import java.util.Map;
+//import java.util.List;
 //
-///**
 // * @author zhibing.pu
 // * @Date 2024/9/24 9:24
 // */
@@ -20,18 +19,12 @@
 //public class GunsApplicationTest {
 //
 //	@Autowired
-//	private PayMoneyUtil payMoneyUtil;
-//
-//	@Autowired
-//	private IOrderPrivateCarService orderPrivateCarService;
+//	private RedisUtil redisUtil;
 //
 //
 //	@Test
 //	public void test(){
-//		try {
-//			orderPrivateCarService.payPrivateCarOrder(1, 37630, null, 1);
-//		} catch (Exception e) {
-//			throw new RuntimeException(e);
-//		}
+//		List<GeoResult<RedisGeoCommands.GeoLocation<String>>> driverPosition = redisUtil.getNearGeo("DRIVER_POSITION", 104.5615D, 30.456275D, 50000D);
+//		System.err.println(driverPosition);
 //	}
 //}

--
Gitblit v1.7.1