From 638e7deedf01e2fa276d38f2215003e43996c54f Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期一, 09 六月 2025 21:07:42 +0800 Subject: [PATCH] 开发中台接口对接 --- DriverQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java | 48 ++++++++++++++++++++++++++---------------------- 1 files changed, 26 insertions(+), 22 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 0251a97..96776f7 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,22 +1,26 @@ -//package com.stylefeng.guns; -// -//import com.stylefeng.guns.modular.smallLogistics.server.IOrderLogisticsService; -//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.test.context.junit4.SpringRunner; -// -//@RunWith(SpringRunner.class) -//@SpringBootTest -//public class GunsApplicationTest { -// -// @Autowired -// private IOrderLogisticsService orderLogisticsService; -// -// -// @Test -// public void queryVipLevelList() throws Exception { -// orderLogisticsService.process(434, 6, 104.0560028754, 30.5855897352, "四川省成都市武侯区石羊街道天府新谷成都高新技术产业开发区(南区)", ""); -// } -//} +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); + + } +} -- Gitblit v1.7.1