From ab564273ec5349d3dd3f71049a4c2738f8b9ebc6 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 21 八月 2025 18:56:54 +0800 Subject: [PATCH] 修改bug --- DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java | 53 +++++++++++++++++++++++++++-------------------------- 1 files changed, 27 insertions(+), 26 deletions(-) diff --git a/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java b/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java index 96776f7..fc6d9dd 100644 --- a/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java +++ b/DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java @@ -1,26 +1,27 @@ -package com.stylefeng.guns; - -import com.stylefeng.guns.modular.system.util.qianyuntong.EnterpriseUtil; -import com.stylefeng.guns.modular.system.util.qianyuntong.model.CreateEnterpriseRequest; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; - -@RunWith(SpringRunner.class) -@SpringBootTest -public class GunsApplicationTest { - - - @Test - public void test() throws Exception { - CreateEnterpriseRequest request = new CreateEnterpriseRequest(); - request.setName("成都喜望科技有限公司"); - request.setNickName("成都喜望"); - request.setIndustry_code("123456789"); - request.setMobile("15828353127"); - request.setMobileFlag("1"); - Boolean enterprise = EnterpriseUtil.createEnterprise(request); - - } -} +//package com.stylefeng.guns; +// +//import com.stylefeng.guns.modular.taxi.service.IOrderTaxiService; +//import org.junit.Test; +//import org.junit.runner.RunWith; +//import org.springframework.boot.test.context.SpringBootTest; +//import org.springframework.test.context.junit4.SpringRunner; +// +//import javax.annotation.Resource; +// +//@RunWith(SpringRunner.class) +//@SpringBootTest +//public class GunsApplicationTest { +// +// @Resource +// private IOrderTaxiService orderTaxiService; +// +// +// @Test +// public void test() { +// try { +// orderTaxiService.grabOrder(819, 14); +// } catch (Exception e) { +// throw new RuntimeException(e); +// } +// } +//} -- Gitblit v1.7.1